nfsd4: modify fi_delegations under recall_lock
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 7 Feb 2011 21:53:46 +0000 (16:53 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 14 Feb 2011 15:35:19 +0000 (10:35 -0500)
commit5d926e8c2f46dc09f4ddde86644a5f1d0726a470
treeef30c949c75ee204c3108159caf9eeb22daf8418
parent65bc58f5187e2ff4011ef1bd3082e83cd1b036f1
nfsd4: modify fi_delegations under recall_lock

Modify fi_delegations only under the recall_lock, allowing us to use
that list on lease breaks.

Also some trivial cleanup to simplify later changes.

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