aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorRenaud Lottiaux <[email protected]>2009-06-30 11:41:34 -0700
committerLinus Torvalds <[email protected]>2009-06-30 18:56:00 -0700
commitdf279ca8966c3de83105428e3391ab17690802a9 (patch)
tree9c10bbad25bbb8f3b40bd25ec3aadf8f0c0a4324 /drivers/mtd/lpddr/lpddr_cmds.c
parentb4f90189dc2c7a7e6926ea480ae3404ec3de4581 (diff)
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 <[email protected]> Signed-off-by: Louis Rilling <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions