diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 20:21:44 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 20:21:44 (GMT) |
commit | 19e03c570e6099ffaf24e5628d4fe1a8acbe820d (patch) | |
tree | 6e7eb831bbfe732044105f7f7a477fda5e912b6c /fs/nfs/callback_xdr.c | |
parent | 65de872ed6501a68e918a49a5c2fa7fca9c6ce21 (diff) | |
download | linux-fsl-qoriq-19e03c570e6099ffaf24e5628d4fe1a8acbe820d.tar.xz |
NFSv4: Ensure that file unlock requests don't conflict with state recovery
The unlock path is currently failing to take the nfs_client->cl_sem read
lock, and hence the recovery path may see locks disappear from underneath
it.
Also ensure that it takes the nfs_inode->rwsem read lock so that it there
is no conflict with delegation recalls.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions