nfsd: trivial GET_DIR_DELEGATION support
authorJeff Layton <jlayton@kernel.org>
Sat, 23 Mar 2024 13:25:54 +0000 (09:25 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 6 May 2024 13:07:17 +0000 (09:07 -0400)
commit33a1e6ea73e5f1defe6706f006c0930a82ebdaaa
tree3615a0a2118a4bc2193e12a5a33254daa59ee951
parent38f080f3cd19fbd87eb7f6c4f6c236c1c9df6fba
nfsd: trivial GET_DIR_DELEGATION support

This adds basic infrastructure for handing GET_DIR_DELEGATION calls from
clients, including the decoders and encoders. For now, it always just
returns NFS4_OK + GDD4_UNAVAIL.

Eventually clients may start sending this operation, and it's better if
we can return GDD4_UNAVAIL instead of having to abort the whole compound.

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