]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc: cleanup do_msgrcv() around MSG_COPY feature
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 29 Nov 2012 03:18:59 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:47 +0000 (16:23 +1100)
commit8272e856bc954d4d2084fb50c718bb7cb50f590c
tree417a25b3e2054a175065e8a79ea2bab44b913d4d
parent4a70dd5a6b4353d24b9e66cf0141a2df50b4333f
ipc: cleanup do_msgrcv() around 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