diff options
| author | Jeff Layton <[email protected]> | 2023-10-04 18:53:02 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-10-18 12:08:29 +0000 |
| commit | 75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec (patch) | |
| tree | 65687abf733aa3f106f987e9fc4ba38d07b52868 /fs/xfs/xfs_inode.c | |
| parent | vboxsf: convert to new timestamp accessors (diff) | |
| download | kernel-75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec.tar.gz kernel-75d1e312bbbd175fa27ffdd4c4fe9e8cc7d047ec.zip | |
xfs: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
| -rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 4d55f58d99b7..36f5cf802c07 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -844,8 +844,8 @@ xfs_init_new_inode( ASSERT(ip->i_nblocks == 0); tv = inode_set_ctime_current(inode); - inode->i_mtime = tv; - inode->i_atime = tv; + inode_set_mtime_to_ts(inode, tv); + inode_set_atime_to_ts(inode, tv); ip->i_extsize = 0; ip->i_diflags = 0; |
