NFSD: Clean up forgetting locks
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 29 Nov 2012 16:40:40 +0000 (11:40 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 3 Dec 2012 14:58:56 +0000 (09:58 -0500)
commitfc29171f5b3257694bf508cf4ae51970c97af78c
tree2951cece565ea99f91a1cb6b601f3f905ee1a2de
parent44e34da60b24ca14666534b61cc9579aa4e1eac5
NFSD: Clean up forgetting locks

I use the new "forget_n_state()" function to iterate through each client
first when searching for locks.  This may slow down forgetting locks a
little bit, but it implements most of the code needed to forget a
specified client's locks.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c