diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:53:00 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:28 +0200 |
commit | d936d3820658bc2728804482c7a3d07ea5da2a3d (patch) | |
tree | a3939438da292d4b60b1579f0670a48e1900f8f5 /fs/ufs/ialloc.c | |
parent | f972fed75496457e8b6495fbe47e8ccdedc820af (diff) | |
download | linux-stable-d936d3820658bc2728804482c7a3d07ea5da2a3d.tar.gz linux-stable-d936d3820658bc2728804482c7a3d07ea5da2a3d.tar.bz2 linux-stable-d936d3820658bc2728804482c7a3d07ea5da2a3d.zip |
ufs: 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-73-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ufs/ialloc.c')
-rw-r--r-- | fs/ufs/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ufs/ialloc.c b/fs/ufs/ialloc.c index a1e7bd9d1f98..73531827ecee 100644 --- a/fs/ufs/ialloc.c +++ b/fs/ufs/ialloc.c @@ -292,7 +292,7 @@ cg_found: inode_init_owner(&nop_mnt_idmap, inode, dir, mode); inode->i_blocks = 0; inode->i_generation = 0; - inode->i_mtime = inode->i_atime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); ufsi->i_flags = UFS_I(dir)->i_flags; ufsi->i_lastfrag = 0; ufsi->i_shadow = 0; |