Commit f77e3498 authored by Denis Cheng's avatar Denis Cheng Committed by Linus Torvalds

vfs: use the predefined d_unhashed inline function instead

Signed-off-by: default avatarDenis Cheng <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent db8906da
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment