diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 20:52:20 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 13:26:21 +0200 |
commit | b898ab233611f7903d88c0b10f8145e1c15d3642 (patch) | |
tree | 7de836c122c71366bc1d4bbe340d5f933869f844 /fs/ext4/super.c | |
parent | ext2: convert to new timestamp accessors (diff) | |
download | linux-b898ab233611f7903d88c0b10f8145e1c15d3642.tar.xz 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.c | 2 |
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: |