summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-03-27 10:47:12 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 15:48:44 -0400
commit9dcc5e8a4635d6a0b20273e3db21507ff02764ea (patch)
tree76efbc7cbd66dcb1fcbd869770900b5ad8eab910 /fs
parent9ed53b12a9a60f4d52228335e76cbbdf0c7e37fb (diff)
downloadblackbird-op-linux-9dcc5e8a4635d6a0b20273e3db21507ff02764ea.tar.gz
blackbird-op-linux-9dcc5e8a4635d6a0b20273e3db21507ff02764ea.zip
hostfs: remove "will unlock" comment
A "will unlock" comment was added to hostfs in the following commit, along with a spinlock: Commit e9193059b1b3733695d5b80e667778311695aa73 ("hostfs: fix races in dentry_name() and inode_name()"). But the spinlock was subsequently removed in the following commit: Commit ec2447c278ee973d35f38e53ca16ba7f965ae33d ("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>
Diffstat (limited to 'fs')
-rw-r--r--fs/hostfs/hostfs_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 0f6e52d22b84..95b9c87cb24a 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -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)
OpenPOWER on IntegriCloud