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

Commit c0d02594 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Al Viro
Browse files

vfs: fix out-of-date dentry_unhash() comment



64252c75 "vfs: remove dget() from
dentry_unhash()" changed the implementation but not the comment.

Cc: Sage Weil <sage@newdream.net>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bad61189
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2710,7 +2710,7 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode)

/*
 * The dentry_unhash() helper will try to drop the dentry early: we
 * should have a usage count of 2 if we're the only user of this
 * should have a usage count of 1 if we're the only user of this
 * dentry, and if that is true (possibly after pruning the dcache),
 * then we drop the dentry now.
 *