diff options
Diffstat (limited to 'fs/umsdos/namei.c')
-rw-r--r-- | fs/umsdos/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/umsdos/namei.c b/fs/umsdos/namei.c index 08bb7b340..75715116f 100644 --- a/fs/umsdos/namei.c +++ b/fs/umsdos/namei.c @@ -876,7 +876,7 @@ int UMSDOS_rmdir (struct inode *dir, struct dentry *dentry) goto out; ret = -EBUSY; - if (!list_empty(&dentry->d_hash)) + if (!d_unhashed(dentry)) goto out; /* check whether the EMD is empty */ |