nfsd: fix clp->cl_revoked list deletion causing softlock in nfsd
authorAndrew Elble <aweits@rit.edu>
Wed, 25 Feb 2015 22:46:27 +0000 (17:46 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 26 Feb 2015 20:32:24 +0000 (15:32 -0500)
commitc876486be17aeefe0da569f3d111cbd8de6f675d
tree70e4081a62317dc5bd950ffa71ec2cf721ad4299
parenta1d1e9be5a1dafe0ddc2181a9201c2ae29c71eff
nfsd: fix clp->cl_revoked list deletion causing softlock in nfsd

commit 2d4a532d385f ("nfsd: ensure that clp->cl_revoked list is
protected by clp->cl_lock") removed the use of the reaplist to
clean out clp->cl_revoked. It failed to change list_entry() to
walk clp->cl_revoked.next instead of reaplist.next

Fixes: 2d4a532d385f ("nfsd: ensure that clp->cl_revoked list is protected by clp->cl_lock")
Cc: stable@vger.kernel.org
Reported-by: Eric Meddaugh <etmsys@rit.edu>
Tested-by: Eric Meddaugh <etmsys@rit.edu>
Signed-off-by: Andrew Elble <aweits@rit.edu>
Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c