summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 20:51:54 +0200
committerChristian Brauner <brauner@kernel.org>2023-10-18 13:26:16 +0200
commit5776aa6bec2be00a82a5fc7258c2339af7fa6877 (patch)
treedbde8a59da9f55f23389ff0deb222d42ec932bc9 /drivers
parentibmasm: convert to new timestamp accessors (diff)
downloadlinux-5776aa6bec2be00a82a5fc7258c2339af7fa6877.tar.xz
linux-5776aa6bec2be00a82a5fc7258c2339af7fa6877.zip
misc: 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-7-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/ibmvmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ibmvmc.c b/drivers/misc/ibmvmc.c
index 2101eb12bcba..7739b783c2db 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_set_ctime_current(inode);
+ inode_set_mtime_to_ts(inode, inode_set_ctime_current(inode));
mark_inode_dirty(inode);
dev_dbg(adapter->dev, "write: file = 0x%lx, count = 0x%lx\n",