diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 21:52:18 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:26:21 +0300 |
commit | 4c72a36edd54f59353cee00b31db46d196dfbd58 (patch) | |
tree | 2d5fd3753083c86cf829fe98aa951bea66226d95 /fs/exfat/super.c | |
parent | 594370f7e80fc1ba97e733b0518bf56f2f030be2 (diff) | |
download | linux-4c72a36edd54f59353cee00b31db46d196dfbd58.tar.xz |
exfat: 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-31-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/exfat/super.c')
-rw-r--r-- | fs/exfat/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/super.c b/fs/exfat/super.c index 2778bd9b631e..e919a68bf4a1 100644 --- a/fs/exfat/super.c +++ b/fs/exfat/super.c @@ -370,8 +370,8 @@ static int exfat_read_root(struct inode *inode) ei->i_size_ondisk = i_size_read(inode); exfat_save_attr(inode, ATTR_SUBDIR); - inode->i_mtime = inode->i_atime = ei->i_crtime = inode_set_ctime_current(inode); - exfat_truncate_atime(&inode->i_atime); + ei->i_crtime = simple_inode_init_ts(inode); + exfat_truncate_inode_atime(inode); return 0; } |