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)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Aug 2025 16:56:43 +0000 (12:56 -0400)
commitdd5a8621b886b02f8341c5d4ea68eb2c552ebd3e
tree67ae2d0e5500377934f0d13e1ad4aaf6da0e477a
parent31f1a960ad1a14def94fa0b8c25d62b4c032813f
NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not set

_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>
fs/nfs/nfs4proc.c