diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-02-13 21:34:30 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 10:38:56 +0400 |
commit | 9b053f3207e8887fed88162a339fdd4001abcdb2 (patch) | |
tree | 7751f057ee6c8ecd6cdb8d613c94db5c6dd632f7 /fs/fuse/dir.c | |
parent | 8ed936b5671bfb33d89bc60bdcc7cf0470ba52fe (diff) | |
download | linux-9b053f3207e8887fed88162a339fdd4001abcdb2.tar.xz |
vfs: Remove unnecessary calls of check_submounts_and_drop
Now that check_submounts_and_drop can not fail and is called from
d_invalidate there is no longer a need to call check_submounts_and_drom
from filesystem d_revalidate methods so remove it.
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/fuse/dir.c')
-rw-r--r-- | fs/fuse/dir.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index de1d84af9f7c..820efd74ca9f 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c @@ -274,9 +274,6 @@ out: invalid: ret = 0; - - if (!(flags & LOOKUP_RCU) && check_submounts_and_drop(entry) != 0) - ret = 1; goto out; } |