diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-04-30 16:38:39 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-05-02 19:47:25 -0400 |
commit | d2caaa0a7745eed3a827e919a37470d34b8fc20d (patch) | |
tree | 04dba393a2953058d109cdc3f7c4af494835e16f /fs/nfs | |
parent | be5b82dbfec2a900925da4437af3c60b61f4c53d (diff) | |
download | linux-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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/unlink.c | 1 |
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)) |