summaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorDai Ngo <dai.ngo@oracle.com>2023-09-19 09:30:20 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2023-10-11 16:37:48 +0300
commitf588d72bd95f748849685412b1f0c7959ca228cf (patch)
treebf27058834dcef7139230fda6e7bc3f17d024a03 /fs/nfs/write.c
parent94f6f0550c625fab1f373bb86a6669b45e9748b3 (diff)
downloadlinux-f588d72bd95f748849685412b1f0c7959ca228cf.tar.xz
nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
The Linux NFS server strips the SUID and SGID from the file mode on ALLOCATE op. Modify _nfs42_proc_fallocate to add NFS_INO_REVAL_FORCED to nfs_set_cache_invalid's argument to force update of the file mode suid/sgid bit. Suggested-by: Trond Myklebust <trondmy@hammerspace.com> Signed-off-by: Dai Ngo <dai.ngo@oracle.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Tested-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions