]> git.karo-electronics.de Git - karo-tx-linux.git/commit
proc: Update proc_flush_task_mnt to use d_invalidate
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 13 Feb 2014 18:24:23 +0000 (10:24 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Feb 2014 03:48:41 +0000 (19:48 -0800)
commit0d7d90f86f83f29a442b37c78172870f8ee28c58
tree8826e8be507ba3219c7c1dc2818d93fe6448d6b2
parent9cb19e4edca781718b14f6e091458dd16391184e
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>
fs/proc/base.c