diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 21:01:07 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-24 10:29:54 +0200 |
commit | 1bc33893e79a79df93d44fbd25080dbf59410e87 (patch) | |
tree | 7056fd86c822583484c99e65c7143ba24e9becd5 /fs/ext4/acl.c | |
parent | ext2: convert to ctime accessor functions (diff) | |
download | linux-1bc33893e79a79df93d44fbd25080dbf59410e87.tar.xz linux-1bc33893e79a79df93d44fbd25080dbf59410e87.zip |
ext4: 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>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-40-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ext4/acl.c')
-rw-r--r-- | fs/ext4/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c index 27fcbddfb148..3bffe862f954 100644 --- a/fs/ext4/acl.c +++ b/fs/ext4/acl.c @@ -259,7 +259,7 @@ retry: error = __ext4_set_acl(handle, inode, type, acl, 0 /* xattr_flags */); if (!error && update_mode) { inode->i_mode = mode; - inode->i_ctime = current_time(inode); + inode_set_ctime_current(inode); error = ext4_mark_inode_dirty(handle, inode); } out_stop: |