NFSD: add support for CB_GETATTR callback
authorDai Ngo <dai.ngo@oracle.com>
Wed, 13 Sep 2023 23:38:20 +0000 (16:38 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:08 +0000 (12:44 -0400)
commit738401a9bd1ac34ccd5723d69640a4adbb1a4bc0
tree3c6cc4f0f2f87b7feb4f7b794c92d0ebb4ccdd2a
parent15d39883ee7dfc023d8a24f5d4b58100e1d04ad9
NFSD: add support for CB_GETATTR callback

Includes:
   . CB_GETATTR proc for nfs4_cb_procedures[]
   . XDR encoding and decoding function for CB_GETATTR request/reply
   . add nfs4_cb_fattr to nfs4_delegation for sending CB_GETATTR
     and store file attributes from client's reply.

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c
fs/nfsd/state.h
fs/nfsd/xdr4cb.h