Home
last modified time | relevance | path

Searched hist:"8 c75593c6eee0f661ddf25dfde0e6ad2a84be7a9" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nfs/
H A Ddelegation.hdiff 8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9 Thu Feb 13 20:51:06 CET 2020 Trond Myklebust <trondmy@gmail.com> 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>
H A Ddelegation.cdiff 8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9 Thu Feb 13 20:51:06 CET 2020 Trond Myklebust <trondmy@gmail.com> 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>