linux: Rename variable to clarify pointer type and avoid confusion with the 'dentry' class.

This commit is contained in:
Gustavo Moreira
2025-01-13 18:07:40 +11:00
parent 35fa9321b3
commit fba8f05c80
@@ -1390,9 +1390,9 @@ class mount(objects.StructType):
A dentry pointer
"""
vfsmnt = self.get_vfsmnt_current()
dentry = vfsmnt.mnt_root
dentry_pointer = vfsmnt.mnt_root
return dentry
return dentry_pointer
def get_dentry_parent(self):
"""Returns the parent root of the mounted tree