summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 14:52:20 -0400
committerChristian Brauner <brauner@kernel.org>2023-10-18 13:26:21 +0200
commitb898ab233611f7903d88c0b10f8145e1c15d3642 (patch)
tree7de836c122c71366bc1d4bbe340d5f933869f844 /fs/ext4/super.c
parent5cdc59fce617a2e6739bc0af91df193f540dbfba (diff)
downloadlinux-b898ab233611f7903d88c0b10f8145e1c15d3642.tar.gz
linux-b898ab233611f7903d88c0b10f8145e1c15d3642.tar.bz2
linux-b898ab233611f7903d88c0b10f8145e1c15d3642.zip
ext4: 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-33-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index dbebd8b3127e..c642adf54599 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -7127,7 +7127,7 @@ static int ext4_quota_off(struct super_block *sb, int type)
}
EXT4_I(inode)->i_flags &= ~(EXT4_NOATIME_FL | EXT4_IMMUTABLE_FL);
inode_set_flags(inode, 0, S_NOATIME | S_IMMUTABLE);
- inode->i_mtime = inode_set_ctime_current(inode);
+ inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode));
err = ext4_mark_inode_dirty(handle, inode);
ext4_journal_stop(handle);
out_unlock: