Merge branch 'i2c/make_remove_callback_void-immutable' of git://git.kernel.org/pub...
[platform/kernel/linux-starfive.git] / fs / autofs / expire.c
index b3fefd6..038b3d2 100644 (file)
@@ -371,7 +371,7 @@ static struct dentry *should_expire(struct dentry *dentry,
                return NULL;
        }
 
-       if (simple_empty(dentry))
+       if (autofs_empty(ino))
                return NULL;
 
        /* Case 2: tree mount, expire iff entire tree is not busy */