]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:32:02 +0000 (16:32 +0200)
commit781ec30354e62e757f5f8f78eba8be764a99585d
tree8c379b4adda9a7b20372ffdfd306daa88eb58ef0
parentb39234ede5456c900ea66e35d183ec251f0474f9
NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server

[ Upstream commit 4fb2b677fc1f70ee642c0beecc3cabf226ef5707 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/client.c