Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

vfs: use the predefined d_unhashed inline function instead

parent db8906da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);