summaryrefslogtreecommitdiffstats
path: root/lib/crc-ccitt.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-08-07 13:32:06 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-08-07 20:40:08 +0200
commit0aec09d049d7e994eba54bad4376dd8f58eab797 (patch)
tree220068a33da8eadd95e3006f626f3d80b8822f6b /lib/crc-ccitt.c
parentacct: get rid of acct_lock for acct->count (diff)
downloadlinux-0aec09d049d7e994eba54bad4376dd8f58eab797.tar.xz
linux-0aec09d049d7e994eba54bad4376dd8f58eab797.zip
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>
Diffstat (limited to 'lib/crc-ccitt.c')
0 files changed, 0 insertions, 0 deletions