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:
be5b82d
)
nfs: missing wakeup in nfs_unblock_sillyrename()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 30 Apr 2016 20:38:39 +0000
(16:38 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:47:25 +0000
(19:47 -0400)
will be needed as soon as lookups are not serialized by ->i_mutex
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/unlink.c
patch
|
blob
|
history
diff --git
a/fs/nfs/unlink.c
b/fs/nfs/unlink.c
index fa538b2ba25183c46aaf62b96c35a647a829479f..7d6deaccf89bdb27c67ddd9173595c2b6013f782 100644
(file)
--- a/
fs/nfs/unlink.c
+++ b/
fs/nfs/unlink.c
@@
-229,6
+229,7
@@
void nfs_unblock_sillyrename(struct dentry *dentry)
struct nfs_unlinkdata *data;
atomic_inc(&nfsi->silly_count);
+ wake_up(&nfsi->waitqueue);
spin_lock(&dir->i_lock);
while (!hlist_empty(&nfsi->silly_list)) {
if (!atomic_inc_not_zero(&nfsi->silly_count))