21541: Adjust dependency to arvados-llfuse fork
[arvados.git] / services / fuse / arvados_fuse / fresh.py
index 2e7a2a8182b62e2ffe8aa474a75c1f35b2723a43..366b5945bc45d1ca0acb9c542fea79a13be481f5 100644 (file)
@@ -2,6 +2,7 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
+from builtins import object
 import time
 import ciso8601
 import calendar
@@ -124,17 +125,11 @@ class FreshBase(object):
         self.ref_count -= n
         return self.ref_count
 
-    def has_ref(self, only_children):
+    def has_ref(self):
         """Determine if there are any kernel references to this
-        object or its children.
-
-        If only_children is True, ignore refcount of self and only consider
-        children.
+        object.
         """
-        if only_children:
-            return False
-        else:
-            return self.ref_count > 0
+        return self.ref_count > 0
 
     def objsize(self):
         return 0