diff options
author | 2015-11-05 18:48:35 -0800 | |
---|---|---|
committer | 2015-11-05 19:34:48 -0800 | |
commit | 1e3ee14b9355a688ffe24725fa746ab120c42881 (patch) | |
tree | e70d8443ce609a7f88059c9e305828b19c3fc123 /include/linux/memcontrol.h | |
parent | mm/mmap.c: remove redundant statement "error = -ENOMEM" (diff) | |
download | linux-dev-1e3ee14b9355a688ffe24725fa746ab120c42881.tar.xz linux-dev-1e3ee14b9355a688ffe24725fa746ab120c42881.zip |
mm/mmap.c: do not initialize retval in mmap_pgoff()
When fget() fails we can return -EBADF directly.
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
0 files changed, 0 insertions, 0 deletions