summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2022-09-07 23:34:21 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-09-08 18:11:23 +0300
commitd7a5118635e725d195843bda80cc5c964d93ef31 (patch)
tree795f1f62a04754a6a81a69be73233906692ffe44 /net
parent2a9d683b48c8a87e61a4215792d44c90bcbbb536 (diff)
downloadlinux-d7a5118635e725d195843bda80cc5c964d93ef31.tar.xz
NFSv4.2: Update mode bits after ALLOCATE and DEALLOCATE
The fallocate call invalidates suid and sgid bits as part of normal operation. We need to mark the mode bits as invalid when using fallocate with an suid so these will be updated the next time the user looks at them. This fixes xfstests generic/683 and generic/684. Reported-by: Yue Cui <cuiyue-fnst@fujitsu.com> Fixes: 913eca1aea87 ("NFS: Fallocate should use the nfs4_fattr_bitmap") Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions