diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-05-14 17:08:14 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-05-17 19:53:33 +0300 |
commit | 6949493884fe88500de4af182588e071cf1544ee (patch) | |
tree | 0750c8d19e973383c004e39f912ed72e146967e7 /include/linux/nfs4.h | |
parent | 126966ddedb60bb7bf9f3b341e26ca8ef1019efc (diff) | |
download | linux-6949493884fe88500de4af182588e071cf1544ee.tar.xz |
NFSv4: Don't hold the layoutget locks across multiple RPC calls
When doing layoutget as part of the open() compound, we have to be
careful to release the layout locks before we can call any further RPC
calls, such as setattr(). The reason is that those calls could trigger
a recall, which could deadlock.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs4.h')
0 files changed, 0 insertions, 0 deletions