diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 21:00:56 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-13 10:28:05 +0200 |
commit | ea9b53d4ae6619963f760bc5f3a1411b59a803f1 (patch) | |
tree | 2498f9b18da53c64b4e7699c92c090b7a54011e6 /fs/coda/inode.c | |
parent | ceph: convert to ctime accessor functions (diff) | |
download | linux-ea9b53d4ae6619963f760bc5f3a1411b59a803f1.tar.xz linux-ea9b53d4ae6619963f760bc5f3a1411b59a803f1.zip |
coda: 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-29-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/coda/inode.c')
-rw-r--r-- | fs/coda/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index d661e6cf17ac..3e64679c1620 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c @@ -269,7 +269,7 @@ int coda_setattr(struct mnt_idmap *idmap, struct dentry *de, memset(&vattr, 0, sizeof(vattr)); - inode->i_ctime = current_time(inode); + inode_set_ctime_current(inode); coda_iattr_to_vattr(iattr, &vattr); vattr.va_type = C_VNON; /* cannot set type */ |