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 <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Eric W. Biederman 2014-02-13 09:34:30 -08:00 • committed by Al Viro
commit 9b053f3207
5 changed files with 0 additions and 26 deletions

View file

@ -274,9 +274,6 @@ out:
invalid:
ret = 0;
if (!(flags & LOOKUP_RCU) && check_submounts_and_drop(entry) != 0)
ret = 1;
goto out;
}