mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
freevxfs: 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-36-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
daaf2bf039
commit
5ec1b39e69
@ -109,11 +109,9 @@ static inline void dip2vip_cpy(struct vxfs_sb_info *sbi,
|
||||
set_nlink(inode, vip->vii_nlink);
|
||||
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->i_mtime.tv_sec = vip->vii_mtime;
|
||||
inode->i_atime.tv_nsec = 0;
|
||||
inode->i_mtime.tv_nsec = 0;
|
||||
inode_set_mtime(inode, vip->vii_mtime, 0);
|
||||
|
||||
inode->i_blocks = vip->vii_blocks;
|
||||
inode->i_generation = vip->vii_gen;
|
||||
|
Loading…
Reference in New Issue
Block a user