diff options
author | Anna Schumaker <[email protected]> | 2022-09-07 16:34:21 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2022-09-08 11:11:23 -0400 |
commit | d7a5118635e725d195843bda80cc5c964d93ef31 (patch) | |
tree | 795f1f62a04754a6a81a69be73233906692ffe44 /tools/perf/util/trace-event-scripting.c | |
parent | 2a9d683b48c8a87e61a4215792d44c90bcbbb536 (diff) |
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 <[email protected]>
Fixes: 913eca1aea87 ("NFS: Fallocate should use the nfs4_fattr_bitmap")
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions