From patchwork Wed Oct 4 18:51:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 13409237 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AD14E7C4F2 for ; Wed, 4 Oct 2023 18:54:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244742AbjJDSyo (ORCPT ); Wed, 4 Oct 2023 14:54:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244551AbjJDSyc (ORCPT ); Wed, 4 Oct 2023 14:54:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D45871AC; Wed, 4 Oct 2023 11:53:56 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFA4DC433C9; Wed, 4 Oct 2023 18:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696445636; bh=xycpCLpfZO5cWJqgRoaNPhUR3uWaHBiSqgCz6ZToHjc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OiAQYCLAzdDweMJ9wL+eTqCmdPkm6tseNh9Zfa6cWPbZem+bl0BLKgVyv6f/1ujMZ r4LTTHGRz6f2FD0GvaqKWaTt7/6DYP30eXLmBQZRziwld5Zhz8DuSWs3uCSipqttLy tsmkoJUQ8SvOS4/3pZghQMyoQRpmmnV94jN/vHRimdPY23LCMy+wKXrTYFbtL5FY6M ApJDt7gUTdBABgE9kyPdloigdsqhTcyRl//eplho8rF8dOew+GFRfugRH5wuxZFuNs dEr+NtSgTKC5eVIn4ntOkUo3MwLUM8ohQCSbGZHW/Av0ZMGpfqiQt7K4IXk22GoYrB VKyrdvKNfvuMg== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 09/89] misc: convert to new timestamp accessors Date: Wed, 4 Oct 2023 14:51:54 -0400 Message-ID: <20231004185347.80880-7-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231004185347.80880-1-jlayton@kernel.org> References: <20231004185221.80802-1-jlayton@kernel.org> <20231004185347.80880-1-jlayton@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Convert to using the new inode timestamp accessor functions. Signed-off-by: Jeff Layton --- drivers/misc/ibmvmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",