From: Al Viro Date: Sat, 30 Apr 2016 20:38:39 +0000 (-0400) Subject: nfs: missing wakeup in nfs_unblock_sillyrename() X-Git-Tag: v4.7-rc1~144^2~59 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d2caaa0a7745eed3a827e919a37470d34b8fc20d;p=karo-tx-linux.git 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 --- 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))