]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit752c5b5f596c30ee3d570e3b515674b6f5ca8cf9
tree2951cece565ea99f91a1cb6b601f3f905ee1a2de
parente0af19943ebd3cc2904a06ef9ae4566f9d09a9bd
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