From b2db2473ab5e6386a6c1e764e365167945ab1d94 Mon Sep 17 00:00:00 2001 From: Denis Cheng Date: Tue, 16 Oct 2007 23:30:11 -0700 Subject: [PATCH] --- yaml --- r: 70694 b: refs/heads/master c: f77e34987070a20e4b3e06b868cb39eb73670467 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/dcache.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7b918b9e4330..43b982c70638 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: db8906da596708865a2ead6a8c2af090255ca549 +refs/heads/master: f77e34987070a20e4b3e06b868cb39eb73670467 diff --git a/trunk/fs/dcache.c b/trunk/fs/dcache.c index 42d290be0ac1..5489b2d98a00 100644 --- a/trunk/fs/dcache.c +++ b/trunk/fs/dcache.c @@ -1542,7 +1542,7 @@ static void d_move_locked(struct dentry * dentry, struct dentry * target) } /* Move the dentry to the target hash queue, if on different bucket */ - if (dentry->d_flags & DCACHE_UNHASHED) + if (d_unhashed(dentry)) goto already_unhashed; hlist_del_rcu(&dentry->d_hash);