Commit 4a2ef475 authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner

ibmasm: 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-6-jlayton@kernel.orgSigned-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 7e6481ce
...@@ -139,7 +139,7 @@ static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode) ...@@ -139,7 +139,7 @@ static struct inode *ibmasmfs_make_inode(struct super_block *sb, int mode)
if (ret) { if (ret) {
ret->i_ino = get_next_ino(); ret->i_ino = get_next_ino();
ret->i_mode = mode; ret->i_mode = mode;
ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); simple_inode_init_ts(ret);
} }
return ret; return ret;
} }
......
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