https://github.com/torvalds/linux
Revision 8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9 authored by Trond Myklebust on 13 February 2020, 19:51:06 UTC, committed by Anna Schumaker on 13 February 2020, 21:18:50 UTC
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>
1 parent cd1b659
History
Tip revision: 8c75593c6eee0f661ddf25dfde0e6ad2a84be7a9 authored by Trond Myklebust on 13 February 2020, 19:51:06 UTC
NFSv4: Ensure the delegation is pinned in nfs_do_return_delegation()
Tip revision: 8c75593
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.0 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.7 KB
.mailmap -rw-r--r-- 14.8 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.3 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 532.9 KB
Makefile -rw-r--r-- 58.9 KB
README -rw-r--r-- 727 bytes

README

back to top