]> git.karo-electronics.de Git - karo-tx-linux.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)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Feb 2014 03:48:40 +0000 (19:48 -0800)
commit9cb19e4edca781718b14f6e091458dd16391184e
treea1a2543237d8a5ef3e0b8414d810d5ef30a49550
parent23135a9bd70092395bd0c287cc916e0c3d230550
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>
fs/ceph/dir.c
fs/proc/base.c
fs/proc/fd.c