]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not set
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Aug 2025 16:07:22 +0000 (09:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:32:02 +0000 (16:32 +0200)
commitb39234ede5456c900ea66e35d183ec251f0474f9
tree0bfa6635ea5a348a834c76e255bbf917e90b611a
parenta022c9a46455b6315faa58d92c2a251ecd0ac6ef
NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not set

[ Upstream commit dd5a8621b886b02f8341c5d4ea68eb2c552ebd3e ]

_nfs4_server_capabilities() is expected to clear any flags that are not
supported by the server.

Fixes: 8a59bb93b7e3 ("NFSv4 store server support for fs_location attribute")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/nfs4proc.c