Jelajahi Sumber

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>
James Hogan 12 tahun lalu
induk
melakukan
9dcc5e8a46
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      fs/hostfs/hostfs_kern.c

+ 1 - 1
fs/hostfs/hostfs_kern.c

@@ -121,7 +121,7 @@ static char *dentry_name(struct dentry *dentry)
 	if (!name)
 	if (!name)
 		return NULL;
 		return NULL;
 
 
-	return __dentry_name(dentry, name); /* will unlock */
+	return __dentry_name(dentry, name);
 }
 }
 
 
 static char *inode_name(struct inode *ino)
 static char *inode_name(struct inode *ino)