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

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

dcache: fix outdated DCACHE_NEED_LOOKUP comment



The DCACHE_NEED_LOOKUP case referred to here was removed with
39e3c955 "vfs: remove
DCACHE_NEED_LOOKUP".

There are only four real_lookup() callers and all of them pass in an
unhashed dentry just returned from d_alloc.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f80de2cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1298,8 +1298,8 @@ static struct dentry *lookup_dcache(struct qstr *name, struct dentry *dir,
}

/*
 * Call i_op->lookup on the dentry.  The dentry must be negative but may be
 * hashed if it was pouplated with DCACHE_NEED_LOOKUP.
 * Call i_op->lookup on the dentry.  The dentry must be negative and
 * unhashed.
 *
 * dir->d_inode->i_mutex must be held
 */