diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 21:52:08 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:26:19 +0300 |
commit | b1c38a1338c90597c7af66985a9e31152ae8cfd3 (patch) | |
tree | 3891ac08fa0e98ad10259059168e4e323c1b35e7 /fs/btrfs/reflink.c | |
parent | ce17a80c388cd1fcd2b6c1212440abd4d3a923e0 (diff) | |
download | linux-b1c38a1338c90597c7af66985a9e31152ae8cfd3.tar.xz |
btrfs: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-21-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/btrfs/reflink.c')
-rw-r--r-- | fs/btrfs/reflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/reflink.c b/fs/btrfs/reflink.c index 65d2bd6910f2..13ecb4f85941 100644 --- a/fs/btrfs/reflink.c +++ b/fs/btrfs/reflink.c @@ -30,7 +30,7 @@ static int clone_finish_inode_update(struct btrfs_trans_handle *trans, inode_inc_iversion(inode); if (!no_time_update) { - inode->i_mtime = inode_set_ctime_current(inode); + inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode)); } /* * We round up to the block size at eof when determining which |