projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8906d
)
vfs: use the predefined d_unhashed inline function instead
author
Denis Cheng
<crquan@gmail.com>
Wed, 17 Oct 2007 06:30:11 +0000
(23:30 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:00 +0000
(08:43 -0700)
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>
fs/dcache.c
patch
|
blob
|
history
diff --git
a/fs/dcache.c
b/fs/dcache.c
index
42d290b
..
5489b2d
100644
(file)
--- 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 (d
entry->d_flags & DCACHE_UNHASHED
)
+ if (d
_unhashed(dentry)
)
goto already_unhashed;
hlist_del_rcu(&dentry->d_hash);