mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
NFSv4.2: query the server for extended attribute support
Query the server for extended attribute support, and record it as the NFS_CAP_XATTR flag in the server capabilities. Signed-off-by: Frank van der Linden <fllinden@amazon.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
committed by
Trond Myklebust
parent
04a5da690e
commit
b78ef845c3
@@ -809,6 +809,9 @@ static void nfs_server_set_fsinfo(struct nfs_server *server,
|
||||
XATTR_SIZE_MAX);
|
||||
server->lxasize = min_t(unsigned int, raw_max_rpc_payload,
|
||||
nfs42_listxattr_xdrsize(XATTR_LIST_MAX));
|
||||
|
||||
if (fsinfo->xattr_support)
|
||||
server->caps |= NFS_CAP_XATTR;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user