summaryrefslogtreecommitdiffstats
path: root/kernel/fs/configfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/configfs/inode.c')
-rw-r--r--kernel/fs/configfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/configfs/inode.c b/kernel/fs/configfs/inode.c
index 8d89f5fd0..eae87575e 100644
--- a/kernel/fs/configfs/inode.c
+++ b/kernel/fs/configfs/inode.c
@@ -236,7 +236,7 @@ void configfs_drop_dentry(struct configfs_dirent * sd, struct dentry * parent)
if (dentry) {
spin_lock(&dentry->d_lock);
- if (!d_unhashed(dentry) && d_really_is_positive(dentry)) {
+ if (simple_positive(dentry)) {
dget_dlock(dentry);
__d_drop(dentry);
spin_unlock(&dentry->d_lock);