nfsd: implement the xattr functions and en/decode logic
authorFrank van der Linden <fllinden@amazon.com>
Tue, 23 Jun 2020 22:39:26 +0000 (22:39 +0000)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Jul 2020 21:27:03 +0000 (17:27 -0400)
commit23e50fe3a5e6045a573c69d4b0e3d78aa6183323
treea7a06d3bea7154c39593aa068ef8b149ebf691de
parent6178713bd46b06a1115f5bc6a3ff38e95b6da9ca
nfsd: implement the xattr functions and en/decode logic

Implement the main entry points for the *XATTR operations.

Add functions to calculate the reply size for the user extended attribute
operations, and implement the XDR encode / decode logic for these
operations.

Add the user extended attributes operations to nfsd4_ops.

Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
include/linux/nfs4.h