]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFS: Initialise verifiers for visible dentries in nfs_atomic_open()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 19 Nov 2025 13:39:50 +0000 (08:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:17 +0000 (13:55 +0100)
commitaf4c780b9f1fd270c5e80f8f0c0c70f0ff3d3cc4
tree547a24933ad17a00dd11787637ad3d3e2d70151a
parent85d84f6c98fcb9aa799730877c99700c8812e547
NFS: Initialise verifiers for visible dentries in nfs_atomic_open()

[ Upstream commit 518c32a1bc4f8df1a8442ee8cdfea3e2fcff20a0 ]

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

Reported-by: Michael Stoler <michael.stoler@vastdata.com>
Fixes: 809fd143de88 ("NFSv4: Ensure nfs_atomic_open set the dentry verifier on ENOENT")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/dir.c