diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-07-05 22:00:44 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-07-13 11:28:02 +0300 |
commit | 41441cecd10f565d18668216dc46b634bcc2cada (patch) | |
tree | cde439aa94abbd8fce58158285a89878f05aae89 /drivers/misc/ibmvmc.c | |
parent | 24856a96cfbf1ebdc742b725a83d7729f2b6d236 (diff) | |
download | linux-41441cecd10f565d18668216dc46b634bcc2cada.tar.xz |
ibm: 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.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230705190309.579783-17-jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/misc/ibmvmc.c')
-rw-r--r-- | drivers/misc/ibmvmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ibmvmc.c b/drivers/misc/ibmvmc.c index d7c7f0305257..2101eb12bcba 100644 --- a/drivers/misc/ibmvmc.c +++ b/drivers/misc/ibmvmc.c @@ -1124,7 +1124,7 @@ static ssize_t ibmvmc_write(struct file *file, const char *buffer, goto out; inode = file_inode(file); - inode->i_mtime = inode->i_ctime = current_time(inode); + inode->i_mtime = inode_set_ctime_current(inode); mark_inode_dirty(inode); dev_dbg(adapter->dev, "write: file = 0x%lx, count = 0x%lx\n", |