summaryrefslogtreecommitdiffstats
path: root/fs/drop_caches.c
diff options
context:
space:
mode:
authorAl Viro2010-03-22 20:22:31 +0100
committerAl Viro2010-05-22 00:31:14 +0200
commit1712ac8fda7d8bc4dc921f5777b7423aacad7263 (patch)
tree1493bc7166ace04d9ac2f4d5383eaab1d43e17c4 /fs/drop_caches.c
parentget rid of S_BIAS (diff)
downloadkernel-qcow2-linux-1712ac8fda7d8bc4dc921f5777b7423aacad7263.tar.gz
kernel-qcow2-linux-1712ac8fda7d8bc4dc921f5777b7423aacad7263.tar.xz
kernel-qcow2-linux-1712ac8fda7d8bc4dc921f5777b7423aacad7263.zip
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions