]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
hostfs: remove "will unlock" comment
authorJames Hogan <james.hogan@imgtec.com>
Wed, 27 Mar 2013 10:47:12 +0000 (10:47 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 19:48:44 +0000 (15:48 -0400)
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>
fs/hostfs/hostfs_kern.c

index 0f6e52d22b8420fdbd3e5b315fe403d742c0a52f..95b9c87cb24a3ac3ce76c7deda6b53bc0237b90f 100644 (file)
@@ -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)