summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorEric W. Biederman2014-02-13 19:24:23 +0100
committerAl Viro2014-10-09 08:38:58 +0200
commitbbd5192412fdedbae00888316bfe350bf89d0458 (patch)
treea9fc77990ac4807b581f7f5b5cf6739af826d343 /fs/dcache.c
parentvfs: Remove d_drop calls from d_revalidate implementations (diff)
downloadkernel-qcow2-linux-bbd5192412fdedbae00888316bfe350bf89d0458.tar.gz
kernel-qcow2-linux-bbd5192412fdedbae00888316bfe350bf89d0458.tar.xz
kernel-qcow2-linux-bbd5192412fdedbae00888316bfe350bf89d0458.zip
proc: Update proc_flush_task_mnt to use d_invalidate
Now that d_invalidate always succeeds and flushes mount points use it in stead of a combination of shrink_dcache_parent and d_drop in proc_flush_task_mnt. This removes the danger of a mount point under /proc/<pid>/... becoming unreachable after the d_drop. Reviewed-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions