aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs4/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs4/root.c')
-rw-r--r--fs/autofs4/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c
index 72dca3335e25..dcd4802a5d5f 100644
--- a/fs/autofs4/root.c
+++ b/fs/autofs4/root.c
@@ -343,7 +343,7 @@ static int autofs4_revalidate(struct dentry *dentry, struct nameidata *nd)
343 spin_lock(&dcache_lock); 343 spin_lock(&dcache_lock);
344 if (S_ISDIR(dentry->d_inode->i_mode) && 344 if (S_ISDIR(dentry->d_inode->i_mode) &&
345 !d_mountpoint(dentry) && 345 !d_mountpoint(dentry) &&
346 simple_empty_nolock(dentry)) { 346 __simple_empty(dentry)) {
347 DPRINTK("dentry=%p %.*s, emptydir", 347 DPRINTK("dentry=%p %.*s, emptydir",
348 dentry, dentry->d_name.len, dentry->d_name.name); 348 dentry, dentry->d_name.len, dentry->d_name.name);
349 spin_unlock(&dcache_lock); 349 spin_unlock(&dcache_lock);