Skip to content

Commit

Permalink
nfs: missing wakeup in nfs_unblock_sillyrename()
Browse files Browse the repository at this point in the history
will be needed as soon as lookups are not serialized by ->i_mutex

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed May 2, 2016
1 parent be5b82d commit d2caaa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nfs/unlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit d2caaa0

Please sign in to comment.