mirror of
https://github.com/torvalds/linux
synced 2024-10-07 20:05:15 +00:00
function: 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-10-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
ee088ed761
commit
9a0518de2b
|
@ -1383,8 +1383,8 @@ ffs_sb_make_inode(struct super_block *sb, void *data,
|
|||
inode->i_mode = perms->mode;
|
||||
inode->i_uid = perms->uid;
|
||||
inode->i_gid = perms->gid;
|
||||
inode->i_atime = ts;
|
||||
inode->i_mtime = ts;
|
||||
inode_set_atime_to_ts(inode, ts);
|
||||
inode_set_mtime_to_ts(inode, ts);
|
||||
inode->i_private = data;
|
||||
if (fops)
|
||||
inode->i_fop = fops;
|
||||
|
|
Loading…
Reference in a new issue