NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Aug 2025 16:15:12 +0000 (09:15 -0700)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Aug 2025 16:56:43 +0000 (12:56 -0400)
commit4fb2b677fc1f70ee642c0beecc3cabf226ef5707
treea3c47c4af4f1b077bd6051d3ec1d390c3a7a3140
parentb3ac33436030bce37ecb3dcae581ecfaad28078c
NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server

nfs_server_set_fsinfo() shouldn't assume that NFS_CAP_XATTR is unset
on entry to the function.

Fixes: b78ef845c35d ("NFSv4.2: query the server for extended attribute support")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c