]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: handle delegated timestamps in SETATTR
authorJeff Layton <jlayton@kernel.org>
Mon, 9 Dec 2024 21:14:01 +0000 (16:14 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 21 Jan 2025 20:30:01 +0000 (15:30 -0500)
commit7e13f4f8d27dc02fb88666f603c53ca749d56f92
treecf28a734d9241d91ebd6924ebc5acfdfcbe17d0b
parent6ae30d6eb26bce02c48c60074b4306270e2434c1
nfsd: handle delegated timestamps in SETATTR

Allow SETATTR to handle delegated timestamps. This patch assumes that
only the delegation holder has the ability to set the timestamps in this
way, so we allow this only if the SETATTR stateid refers to a
*_ATTRS_DELEG delegation.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsd.h