aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-05-25 18:38:50 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-07-25 09:18:27 -0400
commita6d88f293ecd1b7444e128777f4a893e7a998852 (patch)
treecb8e65d7b24192bc8cdbe2afa4aad506c0e99db7 /include
parentnfsd4: fix cr_principal comparison check in same_creds (diff)
downloadlinux-dev-a6d88f293ecd1b7444e128777f4a893e7a998852.tar.xz
linux-dev-a6d88f293ecd1b7444e128777f4a893e7a998852.zip
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 <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions