summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorRenaud Lottiaux <renaud.lottiaux@kerlabs.com>2009-06-30 20:41:34 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-01 03:56:00 +0200
commitdf279ca8966c3de83105428e3391ab17690802a9 (patch)
tree9c10bbad25bbb8f3b40bd25ec3aadf8f0c0a4324 /mm/page-writeback.c
parentMAINTAINERS: STARFIRE/DURALAN update (diff)
downloadlinux-df279ca8966c3de83105428e3391ab17690802a9.tar.xz
linux-df279ca8966c3de83105428e3391ab17690802a9.zip
bsdacct: fix access to invalid filp in acct_on()
The file opened in acct_on and freshly stored in the ns->bacct struct can be closed in acct_file_reopen by a concurrent call after we release acct_lock and before we call mntput(file->f_path.mnt). Record file->f_path.mnt in a local variable and use this variable only. Signed-off-by: Renaud Lottiaux <renaud.lottiaux@kerlabs.com> Signed-off-by: Louis Rilling <louis.rilling@kerlabs.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions