diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 21:01:20 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-24 10:30:01 +0200 |
commit | ad9dc5df36a2253868154a22650eac882c6faec4 (patch) | |
tree | 47bd0dee69a48d9380a343fe9c022c2c8da0a56d /fs/jfs/ioctl.c | |
parent | jffs2: convert to ctime accessor functions (diff) | |
download | linux-ad9dc5df36a2253868154a22650eac882c6faec4.tar.xz linux-ad9dc5df36a2253868154a22650eac882c6faec4.zip |
jfs: convert to ctime accessor functions
In later patches, we're going to change how the inode's ctime field is
used. Switch to using accessor functions instead of raw accesses of
inode->i_ctime.
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-53-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/jfs/ioctl.c')
-rw-r--r-- | fs/jfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/ioctl.c b/fs/jfs/ioctl.c index ed7989bc2db1..f7bd7e8f5be4 100644 --- a/fs/jfs/ioctl.c +++ b/fs/jfs/ioctl.c @@ -96,7 +96,7 @@ int jfs_fileattr_set(struct mnt_idmap *idmap, jfs_inode->mode2 = flags; jfs_set_inode_flags(inode); - inode->i_ctime = current_time(inode); + inode_set_ctime_current(inode); mark_inode_dirty(inode); return 0; |