commit | fe0da9c09b2dc448ff781d1426ecb36d145ce51b | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Wed Jun 05 08:04:51 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sun Jun 09 10:07:07 2019 -0700 |
tree | 368b9c4126a747858b39d301f818b153019ce28b | |
parent | 5dae222a5ff0c269730393018a5539cc970a4726 [diff] |
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>