From: Al Viro Date: Thu, 7 Aug 2014 11:32:06 +0000 (-0400) Subject: drop ->s_umount around acct_auto_close() X-Git-Tag: cleanup-for-v3.18~46^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aec09d049d7e994eba54bad4376dd8f58eab797;p=pandora-kernel.git 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 --- Reading git-diff-tree failed