]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
nfs: missing wakeup in nfs_unblock_sillyrename()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Apr 2016 20:38:39 +0000 (16:38 -0400)
committerAl 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

index fa538b2ba25183c46aaf62b96c35a647a829479f..7d6deaccf89bdb27c67ddd9173595c2b6013f782 100644 (file)
@@ -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))