summaryrefslogtreecommitdiffstats
path: root/fs/nfs/unlink.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-04-30 22:38:39 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-03 01:47:25 +0200
commitd2caaa0a7745eed3a827e919a37470d34b8fc20d (patch)
tree04dba393a2953058d109cdc3f7c4af494835e16f /fs/nfs/unlink.c
parentmake ext2_get_page() and friends work without external serialization (diff)
downloadlinux-d2caaa0a7745eed3a827e919a37470d34b8fc20d.tar.xz
linux-d2caaa0a7745eed3a827e919a37470d34b8fc20d.zip
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>
Diffstat (limited to '')
-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))