]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ed76fb6958ccffe3b4acf52339f1b5c62fb7399
treeef30c949c75ee204c3108159caf9eeb22daf8418
parentb67afe97b8e46f14a4d68e34455dbcdc2318a0a0
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