diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-01-04 15:35:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-04 16:11:46 -0800 |
commit | 51eeacaa07d1372a7bc9612548ffe6cd846f4f2f (patch) | |
tree | d92e69517b9973d5c2dd4697e3b38be6539bc2ca /mm/internal.h | |
parent | b30efe2775ee0a1d911514292579770b214d31c3 (diff) | |
download | linux-51eeacaa07d1372a7bc9612548ffe6cd846f4f2f.tar.bz2 |
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 <skinsbursky@parallels.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions