diff options
author | 2023-07-05 15:01:47 -0400 | |
---|---|---|
committer | 2023-07-24 10:30:06 +0200 | |
commit | a0a415e34b57368acd262e1172720252c028b936 (patch) | |
tree | 3bd42760a35150a27d2dff9c27f60f3e55632258 /fs/xfs/xfs_acl.c | |
parent | vboxsf: convert to ctime accessor functions (diff) | |
download | linux-a0a415e34b57368acd262e1172720252c028b936.tar.gz linux-a0a415e34b57368acd262e1172720252c028b936.tar.bz2 linux-a0a415e34b57368acd262e1172720252c028b936.zip |
xfs: 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-80-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r-- | fs/xfs/xfs_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index 791db7d9c849..6b840301817a 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c @@ -233,7 +233,7 @@ xfs_acl_set_mode( xfs_ilock(ip, XFS_ILOCK_EXCL); xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); inode->i_mode = mode; - inode->i_ctime = current_time(inode); + inode_set_ctime_current(inode); xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); if (xfs_has_wsync(mp)) |