diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-22 18:20:38 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-02-25 18:50:13 -0500 |
commit | b622ffe1d9ecbac71f0cddb52ff0831efdf8fb83 (patch) | |
tree | 5341169f1c1663a67aab13a53056b7533defe977 /fs/utimes.c | |
parent | 41e97b7f8a15d15da03ca15e6ff7b9b7ab7f588c (diff) | |
download | linux-b622ffe1d9ecbac71f0cddb52ff0831efdf8fb83.tar.bz2 |
NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
Ensure that we always initialise the 'xattr_support' field in struct
nfs_fsinfo, so that nfs_server_set_fsinfo() doesn't declare our NFSv2/v3
client to be capable of supporting the NFSv4.2 xattr protocol by setting
the NFS_CAP_XATTR capability.
This configuration can cause nfs_do_access() to set access mode bits
that are unsupported by the NFSv3 ACCESS call, which may confuse
spec-compliant servers.
Reported-by: Olga Kornievskaia <kolga@netapp.com>
Fixes: b78ef845c35d ("NFSv4.2: query the server for extended attribute support")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/utimes.c')
0 files changed, 0 insertions, 0 deletions