From: Al Viro Date: Mon, 22 Mar 2010 19:22:31 +0000 (-0400) Subject: Saner locking around deactivate_super() X-Git-Tag: v2.6.35-rc1~432^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1712ac8fda7d8bc4dc921f5777b7423aacad7263;p=pandora-kernel.git Saner locking around deactivate_super() Make sure that s_umount is acquired *before* we drop the final active reference; we still have the fast path (atomic_dec_unless) and we have gotten rid of the window between the moment when s_active hits zero and s_umount is acquired. Which simplifies the living hell out of grab_super() and inotify pin_to_kill() stuff. Signed-off-by: Al Viro --- Reading git-diff-tree failed