diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 21:01:11 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-24 10:29:59 +0200 |
commit | ceb2d5e92f49c2497faea6a501262e8fe6d91f89 (patch) | |
tree | 602a44ea0a8a67ccb76229ffd7250bbccf62dbb7 /fs/fuse/control.c | |
parent | freevxfs: convert to ctime accessor functions (diff) | |
download | linux-ceb2d5e92f49c2497faea6a501262e8fe6d91f89.tar.xz linux-ceb2d5e92f49c2497faea6a501262e8fe6d91f89.zip |
fuse: 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-44-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/fuse/control.c')
-rw-r--r-- | fs/fuse/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/control.c b/fs/fuse/control.c index 247ef4f76761..ab62e4624256 100644 --- a/fs/fuse/control.c +++ b/fs/fuse/control.c @@ -235,7 +235,7 @@ static struct dentry *fuse_ctl_add_dentry(struct dentry *parent, inode->i_mode = mode; inode->i_uid = fc->user_id; inode->i_gid = fc->group_id; - inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); + inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); /* setting ->i_op to NULL is not allowed */ if (iop) inode->i_op = iop; |