aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 42d290be0ac1..5489b2d98a00 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1542,7 +1542,7 @@ static void d_move_locked(struct dentry * dentry, struct dentry * target)
1542 } 1542 }
1543 1543
1544 /* Move the dentry to the target hash queue, if on different bucket */ 1544 /* Move the dentry to the target hash queue, if on different bucket */
1545 if (dentry->d_flags & DCACHE_UNHASHED) 1545 if (d_unhashed(dentry))
1546 goto already_unhashed; 1546 goto already_unhashed;
1547 1547
1548 hlist_del_rcu(&dentry->d_hash); 1548 hlist_del_rcu(&dentry->d_hash);