diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:52:24 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:21 +0200 |
commit | 3c0d5df2d03d797e66f6eef08859930a01d5d6ad (patch) | |
tree | 4a44f0dfdff72c427dbd9dae50024ec31388871e /fs/fuse/control.c | |
parent | 5ec1b39e694e5ba077ba4a0f9275b358e7586329 (diff) | |
download | lwn-3c0d5df2d03d797e66f6eef08859930a01d5d6ad.tar.gz lwn-3c0d5df2d03d797e66f6eef08859930a01d5d6ad.zip |
fuse: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-37-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 ab62e4624256..284a35006462 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_set_ctime_current(inode); + simple_inode_init_ts(inode); /* setting ->i_op to NULL is not allowed */ if (iop) inode->i_op = iop; |