]> 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)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:07 +0000 (09:44 -0800)
commit8a459e44ad837018ea5c34a9efe8eb4ad27ded26
treeb2c479cc980c9793677302574005b97e05732d74
parentc0b49b0d164c4902e53c17d90e2c5e5a2ac9e132
sys_remap_file_pages: fix ->vm_file accounting

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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/fremap.c