summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-30 16:38:39 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-02 19:47:25 -0400
commitd2caaa0a7745eed3a827e919a37470d34b8fc20d (patch)
tree04dba393a2953058d109cdc3f7c4af494835e16f
parentbe5b82dbfec2a900925da4437af3c60b61f4c53d (diff)
downloadlinux-d2caaa0a7745eed3a827e919a37470d34b8fc20d.tar.bz2
nfs: missing wakeup in nfs_unblock_sillyrename()
will be needed as soon as lookups are not serialized by ->i_mutex Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/nfs/unlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c
index fa538b2ba251..7d6deaccf89b 100644
--- 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))