summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/xattr_acl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-07-05 15:01:37 -0400
committerChristian Brauner <brauner@kernel.org>2023-07-24 10:30:04 +0200
commitae834901ecc517cd943e172cb30b65fb79407b98 (patch)
treefedb506ff8b41732de9e136172e02a5e2211569e /fs/reiserfs/xattr_acl.c
parent9f590685bc5aa7a8f6c1a9ff47bf4755546b1c2b (diff)
downloadlinux-ae834901ecc517cd943e172cb30b65fb79407b98.tar.gz
linux-ae834901ecc517cd943e172cb30b65fb79407b98.tar.bz2
linux-ae834901ecc517cd943e172cb30b65fb79407b98.zip
reiserfs: 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-70-jlayton@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/reiserfs/xattr_acl.c')
-rw-r--r--fs/reiserfs/xattr_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/xattr_acl.c b/fs/reiserfs/xattr_acl.c
index 138060452678..064264992b49 100644
--- a/fs/reiserfs/xattr_acl.c
+++ b/fs/reiserfs/xattr_acl.c
@@ -285,7 +285,7 @@ __reiserfs_set_acl(struct reiserfs_transaction_handle *th, struct inode *inode,
if (error == -ENODATA) {
error = 0;
if (type == ACL_TYPE_ACCESS) {
- inode->i_ctime = current_time(inode);
+ inode_set_ctime_current(inode);
mark_inode_dirty(inode);
}
}