https://github.com/torvalds/linux
Revision 7a36a752d006f6874049da510297eeb7f09d92a7 authored by Oleg Nesterov on 04 July 2008, 16:59:28 UTC, committed by Linus Torvalds on 04 July 2008, 17:40:04 UTC
get_user_pages() must not return the error when i != 0.  When pages !=
NULL we have i get_page()'ed pages.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7ca796f
History
Tip revision: 7a36a752d006f6874049da510297eeb7f09d92a7 authored by Oleg Nesterov on 04 July 2008, 16:59:28 UTC
get_user_pages(): fix possible page leak on oom
Tip revision: 7a36a75
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.0 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top