diff options
| author | Jeff Layton <[email protected]> | 2023-10-04 14:51:54 -0400 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-10-18 13:26:16 +0200 |
| commit | 5776aa6bec2be00a82a5fc7258c2339af7fa6877 (patch) | |
| tree | dbde8a59da9f55f23389ff0deb222d42ec932bc9 /drivers/misc | |
| parent | 4a2ef475464cd823ec8edc6b33b5c1b40f46cb1a (diff) | |
misc: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/misc')
| -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 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", |