diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 20:52:32 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:23 +0200 |
commit | 95af66c4979b08cc8d0982168c1a56a74f5c7b48 (patch) | |
tree | 9340e7a522b43c5cdf2b0b45f60fa59b561578be /fs/jffs2/file.c | |
parent | isofs: convert to new timestamp accessors (diff) | |
download | linux-95af66c4979b08cc8d0982168c1a56a74f5c7b48.tar.xz linux-95af66c4979b08cc8d0982168c1a56a74f5c7b48.zip |
jffs2: 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-45-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/jffs2/file.c')
-rw-r--r-- | fs/jffs2/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c index 11c66793960e..62ea76da7fdf 100644 --- a/fs/jffs2/file.c +++ b/fs/jffs2/file.c @@ -317,8 +317,8 @@ static int jffs2_write_end(struct file *filp, struct address_space *mapping, inode->i_size = pos + writtenlen; inode->i_blocks = (inode->i_size + 511) >> 9; - inode->i_mtime = inode_set_ctime_to_ts(inode, - ITIME(je32_to_cpu(ri->ctime))); + inode_set_mtime_to_ts(inode, + inode_set_ctime_to_ts(inode, ITIME(je32_to_cpu(ri->ctime)))); } } |