From d2caaa0a7745eed3a827e919a37470d34b8fc20d Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 30 Apr 2016 16:38:39 -0400 Subject: [PATCH] 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 --- fs/nfs/unlink.c | 1 + 1 file changed, 1 insertion(+) 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))