mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
xfs: 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-75-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
committed by
Christian Brauner
parent
9caef040aa
commit
75d1e312bb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user