diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-02-08 08:49:32 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-02-08 11:09:53 -0500 |
commit | 45901a231723a5a513ff08477983f3a274a6a910 (patch) | |
tree | beaf3600ab6333303577c55913d3fb463018cf1a /arch/sh/configs/apsh4ad0a_defconfig | |
parent | 586a0787ce35f2e32d399b7e344e634e07de2997 (diff) | |
download | linux-stable-45901a231723a5a513ff08477983f3a274a6a910.tar.gz linux-stable-45901a231723a5a513ff08477983f3a274a6a910.tar.bz2 linux-stable-45901a231723a5a513ff08477983f3a274a6a910.zip |
NFSv4: Fixes for nfs4_bitmask_adjust()
We don't want to ask for the ACL in a WRITE reply, since we don't have
a preallocated buffer.
Instead of checking NFS_INO_INVALID_ACCESS, which is really about
managing the access cache, we should look at the value of
NFS_INO_INVALID_OTHER. Also ensure we assign the mode, owner and
owner_group flags to the correct bit mask.
Finally, fix up the check for NFS_INO_INVALID_CTIME to retrieve the
ctime, and add a check for NFS_INO_INVALID_CHANGE.
Fixes: 76bd5c016ef4 ("NFSv4: make cache consistency bitmask dynamic")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'arch/sh/configs/apsh4ad0a_defconfig')
0 files changed, 0 insertions, 0 deletions