From: Stanislav Kinsbursky Date: Fri, 4 Jan 2013 23:35:01 +0000 (-0800) Subject: ipc: simplify message copying X-Git-Tag: v3.8-rc3~16^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51eeacaa07d1372a7bc9612548ffe6cd846f4f2f;p=pandora-kernel.git ipc: simplify message copying Remove the redundant and confusing fill_copy(). Also add copy_msg() check for error. In this case exit from the function have to be done instead of break, because further code interprets any error as EAGAIN. Also define copy_msg() for the case when CONFIG_CHECKPOINT_RESTORE is disabled. Signed-off-by: Stanislav Kinsbursky Cc: "Eric W. Biederman" Cc: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed