]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: Initialise verifiers for visible dentries in _nfs4_open_and_get_state
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 19 Nov 2025 13:43:21 +0000 (08:43 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 19 Nov 2025 16:46:50 +0000 (11:46 -0500)
commit0f900f11002ff52391fc2aa4a75e59f26ed1c242
treebb9624bd29ffd4cf7637f6132c4aff31c291abe6
parent518c32a1bc4f8df1a8442ee8cdfea3e2fcff20a0
NFS: Initialise verifiers for visible dentries in _nfs4_open_and_get_state

Ensure that the verifiers are initialised before calling
d_splice_alias() in _nfs4_open_and_get_state().

Reported-by: Michael Stoler <michael.stoler@vastdata.com>
Fixes: cf5b4059ba71 ("NFSv4: Fix races between open and dentry revalidation")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c