Commit 9dcc5e8a authored by James Hogan's avatar James Hogan Committed by Al Viro
Browse files

hostfs: remove "will unlock" comment

A "will unlock" comment was added to hostfs in the following commit,
along with a spinlock:

Commit e9193059 ("hostfs: fix races in
dentry_name() and inode_name()").

But the spinlock was subsequently removed in the following commit:

Commit ec2447c2

 ("hostfs: simplify
locking").

Since the comment is no longer applicable, remove it.
Reported-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: Nick Piggin <npiggin@kernel.dk>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9ed53b12
......@@ -121,7 +121,7 @@ static char *dentry_name(struct dentry *dentry)
if (!name)
return NULL;
return __dentry_name(dentry, name); /* will unlock */
return __dentry_name(dentry, name);
}
static char *inode_name(struct inode *ino)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment