diff options
author | Christoph Hellwig <hch@lst.de> | 2017-02-07 04:45:51 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-02-09 21:50:24 +0300 |
commit | c5ecb42342852892f978572ddc6dca703460f25a (patch) | |
tree | 0010bae7b3883761416db93be42e907b8e14ce6a /fs/xfs/xfs_mount.c | |
parent | 3c68d44a2b49a0ac9165faa9c191e1e618c8a8d5 (diff) | |
download | linux-c5ecb42342852892f978572ddc6dca703460f25a.tar.xz |
xfs: update ctime and mtime on clone destinatation inodes
We're changing both metadata and data, so we need to update the
timestamps for clone operations. Dedupe on the other hand does
not change file data, and only changes invisible metadata so the
timestamps should not be updated.
This follows existing btrfs behavior.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: remove redundant is_dedupe test]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
0 files changed, 0 insertions, 0 deletions