summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2026-07-17 19:27:49 +1000
committerChuck Lever <cel@kernel.org>2026-08-26 16:40:01 -0400
commitd1b97dfe5884f3eb328182b98db431953324dd05 (patch)
treed136e2012972800ef1114b693ae3755113d37459 /scripts
parent0a0d1d55dad570724bf8c7ea83409639cfb4be9b (diff)
downloadlinux-next-d1b97dfe5884f3eb328182b98db431953324dd05.tar.gz
linux-next-d1b97dfe5884f3eb328182b98db431953324dd05.zip
nfsd: honour client-provided attributes for NFS4_CREATE_EXCLUSIVE4_1
When a file is created with a v4.1 OPEN which requests NFS4_CREATE_EXCLUSIVE4_1, the request can include attributes to be set. However when the mtime/atime are set to hold the verifier, the other ia_valid flags are cleared, so no attributes requested by the client are used. This code was originally written for NFSv3 where NFS3_CREATE_EXCLUSIVE never includes attributes. When it was updated for v4.1, the fact that an exclusive create CAN include attributes was not handled properly. Fixes: ac6721a13e5b ("nfsd41: make sure nfs server process OPEN with EXCLUSIVE4_1 correctly") Cc: stable@vger.kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: NeilBrown <neil@brown.name> Link: https://patch.msgid.link/20260717093001.1972119-2-neilb@ownmail.net Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions