Skip to content

Commit 9dcc5e8

Browse files
James HoganAl Viro
authored andcommitted
hostfs: remove "will unlock" comment
A "will unlock" comment was added to hostfs in the following commit, along with a spinlock: Commit e919305 ("hostfs: fix races in dentry_name() and inode_name()"). But the spinlock was subsequently removed in the following commit: Commit ec2447c ("hostfs: simplify locking"). Since the comment is no longer applicable, remove it. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Nick Piggin <npiggin@kernel.dk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 9ed53b1 commit 9dcc5e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/hostfs/hostfs_kern.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static char *dentry_name(struct dentry *dentry)
121121
if (!name)
122122
return NULL;
123123

124-
return __dentry_name(dentry, name); /* will unlock */
124+
return __dentry_name(dentry, name);
125125
}
126126

127127
static char *inode_name(struct inode *ino)

0 commit comments

Comments
 (0)