ipc: use simple_read_from_buffer()
commitf1a43f93f0f3bab418800eaccb9e2e3b5427e173
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 25 Jul 2008 08:48:07 +0000 (25 01:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:42 +0000 (25 10:53 -0700)
treed39b73f1de7f16c74f5c304646dbadc728689fa8
parent380af1b33b3ff92df5cda96329b58f5d1b6b5a53
ipc: use simple_read_from_buffer()

Also this patch kills unneccesary trailing NULL character.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Pierre Peiffer <peifferp@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/mqueue.c