Commit 5ec1b39e authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner

freevxfs: convert to new timestamp accessors

Convert to using the new inode timestamp accessor functions.
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-36-jlayton@kernel.orgSigned-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent daaf2bf0
...@@ -109,11 +109,9 @@ static inline void dip2vip_cpy(struct vxfs_sb_info *sbi, ...@@ -109,11 +109,9 @@ static inline void dip2vip_cpy(struct vxfs_sb_info *sbi,
set_nlink(inode, vip->vii_nlink); set_nlink(inode, vip->vii_nlink);
inode->i_size = vip->vii_size; inode->i_size = vip->vii_size;
inode->i_atime.tv_sec = vip->vii_atime; inode_set_atime(inode, vip->vii_atime, 0);
inode_set_ctime(inode, vip->vii_ctime, 0); inode_set_ctime(inode, vip->vii_ctime, 0);
inode->i_mtime.tv_sec = vip->vii_mtime; inode_set_mtime(inode, vip->vii_mtime, 0);
inode->i_atime.tv_nsec = 0;
inode->i_mtime.tv_nsec = 0;
inode->i_blocks = vip->vii_blocks; inode->i_blocks = vip->vii_blocks;
inode->i_generation = vip->vii_gen; inode->i_generation = vip->vii_gen;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment