Skip to content

Commit

Permalink
hostfs: remove "will unlock" comment
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: James Hogan <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
James Hogan authored and Al Viro committed May 4, 2013
1 parent 9ed53b1 commit 9dcc5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/hostfs/hostfs_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9dcc5e8

Please sign in to comment.