]> git.openfabrics.org - ~emulex/infiniband.git/commit
vfs: Remove d_drop calls from d_revalidate implementations
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 13 Feb 2014 18:19:10 +0000 (10:19 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:38:58 +0000 (02:38 -0400)
commitc143c2333c48f1430231b31a8c17e074b9b504eb
treebe124eb194903b97429ad6914a7a02d55d969940
parent5542aa2fa7f6cddb03c4ac3135e390adffda98ca
vfs: Remove d_drop calls from d_revalidate implementations

Now that d_invalidate always succeeds it is not longer necessary or
desirable to hard code d_drop calls into filesystem specific
d_revalidate implementations.

Remove the unnecessary d_drop calls and rely on d_invalidate
to drop the dentries.  Using d_invalidate ensures that paths
to mount points will not be dropped.

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>
fs/ceph/dir.c
fs/proc/base.c
fs/proc/fd.c