diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 15:01:06 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-13 10:28:07 +0200 |
commit | fc4eed640d8f124dfc47ead69232f570a310496a (patch) | |
tree | 47647784d1c2dd1438ddd0a80c1634cfbc2a8514 /fs/ext2/acl.c | |
parent | f29f190828238d377b2bbffb1ce7a83c45fb2dd4 (diff) |
ext2: 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.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-39-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ext2/acl.c')
-rw-r--r-- | fs/ext2/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c index 82b17d7fc93f..7e54c31589c7 100644 --- a/fs/ext2/acl.c +++ b/fs/ext2/acl.c @@ -237,7 +237,7 @@ ext2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, error = __ext2_set_acl(inode, acl, type); if (!error && update_mode) { inode->i_mode = mode; - inode->i_ctime = current_time(inode); + inode_set_ctime_current(inode); mark_inode_dirty(inode); } return error; |