|
@@ -343,7 +343,7 @@ static int autofs4_revalidate(struct dentry *dentry, struct nameidata *nd)
|
|
|
spin_lock(&dcache_lock);
|
|
|
if (S_ISDIR(dentry->d_inode->i_mode) &&
|
|
|
!d_mountpoint(dentry) &&
|
|
|
- simple_empty_nolock(dentry)) {
|
|
|
+ __simple_empty(dentry)) {
|
|
|
DPRINTK("dentry=%p %.*s, emptydir",
|
|
|
dentry, dentry->d_name.len, dentry->d_name.name);
|
|
|
spin_unlock(&dcache_lock);
|