diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 22:00:55 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-13 11:28:05 +0300 |
commit | 7795aef0819225db9aea918b7f7c47a854304d5e (patch) | |
tree | b10e36907228d9e7784f23854831983d4e9d6684 /fs/ceph/caps.c | |
parent | 2a9462de4352d141ca17d7b872dee64d3ba8995f (diff) | |
download | linux-7795aef0819225db9aea918b7f7c47a854304d5e.tar.xz |
ceph: 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.
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-28-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index e2bb0d0072da..09cd6d334604 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -1400,7 +1400,7 @@ static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, arg->mtime = inode->i_mtime; arg->atime = inode->i_atime; - arg->ctime = inode->i_ctime; + arg->ctime = inode_get_ctime(inode); arg->btime = ci->i_btime; arg->change_attr = inode_peek_iversion_raw(inode); |