aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <[email protected]>2012-05-25 18:38:50 +0400
committerJ. Bruce Fields <[email protected]>2012-07-25 09:18:27 -0400
commita6d88f293ecd1b7444e128777f4a893e7a998852 (patch)
treecb8e65d7b24192bc8cdbe2afa4aad506c0e99db7 /lib/dynamic_debug.c
parent5559b50acdcdcad7e362882d3261bf934c9436f6 (diff)
NFSd: fix locking in nfsd_forget_delegations()
This patch adds recall_lock hold to nfsd_forget_delegations() to protect nfsd_process_n_delegations() call. Also, looks like it would be better to collect delegations to some local on-stack list, and then unhash collected list. This split allows to simplify locking, because delegation traversing is protected by recall_lock, when delegation unhash is protected by client_mutex. Signed-off-by: Stanislav Kinsbursky <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions