commit | 2042f61e766aec8471867c4cb750db6ba97f8a07 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Fri May 31 10:55:01 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jun 10 21:15:42 2019 -0700 |
tree | 208c9bd68dc670f41069e5373a5b2e74fb3142ae | |
parent | 17070fcccf0c4902c54c417f766092479788a2fe [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>