diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-06-05 17:04:51 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-09 19:07:07 +0200 |
commit | fe0da9c09b2dc448ff781d1426ecb36d145ce51b (patch) | |
tree | 368b9c4126a747858b39d301f818b153019ce28b /fs/xfs/xfs_fsops.c | |
parent | vfs: allow copy_file_range to copy across devices (diff) | |
download | linux-fe0da9c09b2dc448ff781d1426ecb36d145ce51b.tar.xz linux-fe0da9c09b2dc448ff781d1426ecb36d145ce51b.zip |
fuse: copy_file_range needs to strip setuid bits and update timestamps
Like ->write_iter(), we update mtime and strip setuid of dst file before
copy and like ->read_iter(), we update atime of src file after copy.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Acked-by: Miklos Szeredi <miklos@szeredi.hu>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
0 files changed, 0 insertions, 0 deletions