]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sys_remap_file_pages: fix ->vm_file accounting
authorOleg Nesterov <oleg@tv-sign.ru>
Tue, 5 Feb 2008 06:27:18 +0000 (22:27 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:25 +0000 (11:46 -0800)
commit7e3c396b7554c761718702a1a9d519bfab2fa430
tree8eca739771f7ae82f9245fbd52296f2f3b47d753
parent56d4009e9628d07acb194a52a655c5fb9abc014f
sys_remap_file_pages: fix ->vm_file accounting

patch 8a459e44ad837018ea5c34a9efe8eb4ad27ded26 in mainline.

Fix ->vm_file accounting, mmap_region() may do do_munmap().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/fremap.c