diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 20:52:39 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:24 +0200 |
commit | 56c0d99b846adeded1ce8fabf782d86a8a0b6eb7 (patch) | |
tree | a67dedc05e1fa9faa505193a23b87b134f0560a9 /fs/ntfs/mft.c | |
parent | nilfs2: convert to new timestamp accessors (diff) | |
download | linux-56c0d99b846adeded1ce8fabf782d86a8a0b6eb7.tar.xz linux-56c0d99b846adeded1ce8fabf782d86a8a0b6eb7.zip |
ntfs: 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-52-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ntfs/mft.c')
-rw-r--r-- | fs/ntfs/mft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index ad1a8f72da22..6fd1dc4b08c8 100644 --- a/fs/ntfs/mft.c +++ b/fs/ntfs/mft.c @@ -2682,7 +2682,7 @@ mft_rec_already_initialized: vi->i_mode &= ~S_IWUGO; /* Set the inode times to the current time. */ - vi->i_atime = vi->i_mtime = inode_set_ctime_current(vi); + simple_inode_init_ts(vi); /* * Set the file size to 0, the ntfs inode sizes are set to 0 by * the call to ntfs_init_big_inode() below. |