Remove useless calls to validate.

This commit is contained in:
Mike Auty
2019-09-26 15:58:22 +01:00
parent 679a0eabc2
commit 211ad0d524
-5
View File
@@ -104,11 +104,6 @@ class LinuxUtilities(object):
# based on __d_path from the Linux kernel
@classmethod
def _do_get_path(cls, rdentry, rmnt, dentry, vfsmnt) -> str:
try:
rdentry.validate()
dentry.validate()
except exceptions.InvalidDataException:
return ""
ret_path = [] # type: List[str]