diff options
author | Denis Cheng <crquan@gmail.com> | 2007-10-16 23:30:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:00 -0700 |
commit | f77e34987070a20e4b3e06b868cb39eb73670467 (patch) | |
tree | 2f959c6ac61e6183eafed66be84ed849f60cb29b /fs | |
parent | db8906da596708865a2ead6a8c2af090255ca549 (diff) | |
download | linux-3.10-f77e34987070a20e4b3e06b868cb39eb73670467.tar.gz linux-3.10-f77e34987070a20e4b3e06b868cb39eb73670467.tar.bz2 linux-3.10-f77e34987070a20e4b3e06b868cb39eb73670467.zip |
vfs: use the predefined d_unhashed inline function instead
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/dcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 42d290be0ac..5489b2d98a0 100644 --- a/fs/dcache.c +++ b/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); |