diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-05-25 18:38:50 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-07-25 17:18:27 +0400 |
commit | a6d88f293ecd1b7444e128777f4a893e7a998852 (patch) | |
tree | cb8e65d7b24192bc8cdbe2afa4aad506c0e99db7 /Documentation/edac.txt | |
parent | 5559b50acdcdcad7e362882d3261bf934c9436f6 (diff) | |
download | linux-a6d88f293ecd1b7444e128777f4a893e7a998852.tar.xz |
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 'Documentation/edac.txt')
0 files changed, 0 insertions, 0 deletions