projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed53b1
)
hostfs: remove "will unlock" comment
author
James Hogan
<
[email protected]
>
Wed, 27 Mar 2013 10:47:12 +0000
(10:47 +0000)
committer
Al Viro
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: James Hogan <
[email protected]
>
Cc: Nick Piggin <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/hostfs/hostfs_kern.c
patch
|
blob
|
history
diff --git
a/fs/hostfs/hostfs_kern.c
b/fs/hostfs/hostfs_kern.c
index 0f6e52d22b8420fdbd3e5b315fe403d742c0a52f..95b9c87cb24a3ac3ce76c7deda6b53bc0237b90f 100644
(file)
--- 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)