mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
drop ->s_umount around acct_auto_close()
just repeat the frozen check after regaining it, and check that sb is still alive. If several threads hit acct_auto_close() at the same time, acct_auto_close() will survive that just fine. And we really don't want to play with writes and closing the file with ->s_umount held exclusive - it's a deadlock country. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2798d4ce61
commit
0aec09d049
1 changed files with 14 additions and 4 deletions
18
fs/super.c
18
fs/super.c
Loading…
Add table
Add a link
Reference in a new issue