aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_trans_inode.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 14:53:02 -0400
committerChristian Brauner <brauner@kernel.org>2023-10-18 14:08:29 +0200
commit75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec (patch)
tree65687abf733aa3f106f987e9fc4ba38d07b52868 /fs/xfs/libxfs/xfs_trans_inode.c
parentvboxsf: convert to new timestamp accessors (diff)
downloadwireguard-linux-75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec.tar.xz
wireguard-linux-75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec.zip
xfs: 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-75-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/xfs/libxfs/xfs_trans_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_trans_inode.c b/fs/xfs/libxfs/xfs_trans_inode.c
index 6b2296ff248a..70e97ea6eee7 100644
--- a/fs/xfs/libxfs/xfs_trans_inode.c
+++ b/fs/xfs/libxfs/xfs_trans_inode.c
@@ -65,7 +65,7 @@ xfs_trans_ichgtime(
tv = current_time(inode);
if (flags & XFS_ICHGTIME_MOD)
- inode->i_mtime = tv;
+ inode_set_mtime_to_ts(inode, tv);
if (flags & XFS_ICHGTIME_CHG)
inode_set_ctime_to_ts(inode, tv);
if (flags & XFS_ICHGTIME_CREATE)