Loading fs/nfs/unlink.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -229,6 +229,7 @@ void nfs_unblock_sillyrename(struct dentry *dentry) struct nfs_unlinkdata *data; struct nfs_unlinkdata *data; atomic_inc(&nfsi->silly_count); atomic_inc(&nfsi->silly_count); wake_up(&nfsi->waitqueue); spin_lock(&dir->i_lock); spin_lock(&dir->i_lock); while (!hlist_empty(&nfsi->silly_list)) { while (!hlist_empty(&nfsi->silly_list)) { if (!atomic_inc_not_zero(&nfsi->silly_count)) if (!atomic_inc_not_zero(&nfsi->silly_count)) Loading Loading
fs/nfs/unlink.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -229,6 +229,7 @@ void nfs_unblock_sillyrename(struct dentry *dentry) struct nfs_unlinkdata *data; struct nfs_unlinkdata *data; atomic_inc(&nfsi->silly_count); atomic_inc(&nfsi->silly_count); wake_up(&nfsi->waitqueue); spin_lock(&dir->i_lock); spin_lock(&dir->i_lock); while (!hlist_empty(&nfsi->silly_list)) { while (!hlist_empty(&nfsi->silly_list)) { if (!atomic_inc_not_zero(&nfsi->silly_count)) if (!atomic_inc_not_zero(&nfsi->silly_count)) Loading