]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc: cleanup do_msgrcv() aroung MSG_COPY feature
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Sat, 3 Nov 2012 00:43:06 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 8 Nov 2012 04:08:59 +0000 (15:08 +1100)
commit5be2055971ae33c2c7b20bdae5d6b6e91f19c738
tree650cdc0ffe9e41c65cb2e097afa22ae45d7a5cfa
parent34fc2efbe098ff678185c61aecd1f1c463b6b383
ipc: cleanup do_msgrcv() aroung MSG_COPY feature

MSG_COPY feature was developed for Checkpoint/Restart In User space project
and thus wrapped in CONFIG_CHECKPOINT_RESTORE macro. But code look a bit ugly.
So this patch is an attempt to cleanup do_msgrcv() a bit and make it looks
better.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/msg.c