diff options
author | Trond Myklebust <trondmy@gmail.com> | 2020-02-13 22:51:06 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-02-14 00:18:50 +0300 |
commit | 8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9 (patch) | |
tree | b4af6d59d60f5e555082220cdde1798610e5dff9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cd1b659d8ce7697ee9799b64f887528315b9097b (diff) | |
download | linux-8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9.tar.xz |
NFSv4: Ensure the delegation is pinned in nfs_do_return_delegation()
The call to nfs_do_return_delegation() needs to be taken without
any RCU locks. Add a refcount to make sure the delegation remains
pinned in memory until we're done.
Fixes: ee05f456772d ("NFSv4: Fix races between open and delegreturn")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions