Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f77e34987070a20e4b3e06b868cb39eb73670467 Commit: f77e34987070a20e4b3e06b868cb39eb73670467 Parent: db8906da596708865a2ead6a8c2af090255ca549 Author: Denis Cheng <[EMAIL PROTECTED]> AuthorDate: Tue Oct 16 23:30:11 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed Oct 17 08:43:00 2007 -0700
vfs: use the predefined d_unhashed inline function instead Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- fs/dcache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 42d290b..5489b2d 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html