]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: prepare delegation code for handing out *_ATTRS_DELEG delegations
authorJeff Layton <jlayton@kernel.org>
Mon, 9 Dec 2024 21:13:57 +0000 (16:13 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 21 Jan 2025 20:30:01 +0000 (15:30 -0500)
commitfbd5573d0deda145fe173431f1f3ca444940de18
treecac6b21cf496d60bd47776a6b07fa9c7af7414b1
parentc9c99a33e2b0083c83a2c29eebfad92c78e16791
nfsd: prepare delegation code for handing out *_ATTRS_DELEG delegations

Add some preparatory code to various functions that handle delegation
types to allow them to handle the OPEN_DELEGATE_*_ATTRS_DELEG constants.
Add helpers for detecting whether it's a read or write deleg, and
whether the attributes are delegated.

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