Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3150000rdh; Thu, 28 Sep 2023 04:22:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGi53SBk0VvyBykTnq0sVl8T0oIeYpxInLiSr7HfLiAoCnbndyKCLqYbyYv9lV5naoO8l54 X-Received: by 2002:a5b:bce:0:b0:d13:4033:6bcb with SMTP id c14-20020a5b0bce000000b00d1340336bcbmr684276ybr.62.1695900127686; Thu, 28 Sep 2023 04:22:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900127; cv=none; d=google.com; s=arc-20160816; b=VqPm+RP0baHjEPKzrBGgIW9uox/bYAGWZew9jSG7w3wVteLn4almpx9HOwzLN9B2sE ZAbRZbkHsBYnP4NgGewg/tpT9Ehv2t62hUk1VCRvtj55h8zChsDhgnQdmxtewWQXaJgl IxGI8wRco1nRZRQf5OqLtNHs7UmF7Sw9JZ5sRcnZghYEmtqTTyKyGzTNU0P84aLj4ms+ Hv8TpZ9ECKhNgCTz33VU5rErww4cozS2zMlWmaYal8+xpegmByEaNSzm9Twc86E8GEy6 4b1gPkMoyjemlpbtEgT6NU2rqOVLmhbRO0Q7QqtmZtccX+sdX4Lgcile78wprhswePly IBbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=39Fp+3QV3LrzqV6hyWVDf1Z5e+2c5xY6Yzjuh7y+wQE=; fh=aPoMQYeH3F20yp3HXGkR3ALuDT4a0EJUzoGf/IQZKok=; b=CJgW4IANr1+QWsGhCfkxYSxNYB3ibP7XuNJhs8tC/JrWbx97DT+fh+L+fQFisD/pCZ PcP0KC71PGSFMXYTX/29F8Hnrhi6l5i0I+9goJLjBfSHji1Gmyy6rsVckD366eOvrFhH KUKkP4I9CgnNtrlHqT1KhqlSaRtYamTMovk6AWCcjh2+BAMVqO3BapIEZFz61RQ+ncPE OiuTNc/Qv+ntZ2oRJp7BH7O6RKjqBNLQLYgzfUOuUoEhlT5D/NIqu8Y9PZ975b/W6arh CGKFMbbqqyhal39WX+1aKa9ctkJFeTohv7mG8SvMIIOJeWCVrga4mG2fY9Am2kFQFGfE OlSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBRF09ys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w20-20020a63fb54000000b00553a99dd783si17911742pgj.778.2023.09.28.04.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:22:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tBRF09ys; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5DF8C82F3482; Thu, 28 Sep 2023 04:05:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232214AbjI1LFV (ORCPT + 99 others); Thu, 28 Sep 2023 07:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232065AbjI1LEd (ORCPT ); Thu, 28 Sep 2023 07:04:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36E910C6; Thu, 28 Sep 2023 04:04:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADF61C43391; Thu, 28 Sep 2023 11:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899067; bh=BjT5FOHm+eazmJSyqelvN0UNyLg8HYUUwJ3M3CdqJxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tBRF09ysU7N2igynCW093NVQflZFAh+gsZ3yeIMONpafyrjtuB5FRDk0jdIGxfBy/ bzy5MZTW/WBmqP7cJIpKOZQwqFtJdpQowwjd/RlVj1j3zhhVpALHNhkrzhqHdkMGdG C83PebiDEHuEZq/fRlMdeC2xe4NR9YAK/CwxVzsnK3U9H1fDLO7rCo4BPEBjBVuqJG 2jguEeIc4dODzqxPPUeOcrVr+DXAYxZSAm0FYGckqnVyrLnXrMZTRWJaGo1AN3Kctv A/Gg9A0rI7Ep6Oy/e0uxDaWgq/n64BeUoobMJTKZ0NK91j8mK7dFNgr5meU5JaZaHe SQp25SpvR3yWA== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-usb@vger.kernel.org Subject: [PATCH 13/87] drivers/usb/gadget/function: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:22 -0400 Message-ID: <20230928110413.33032-12-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:05:43 -0700 (PDT) Signed-off-by: Jeff Layton --- drivers/usb/gadget/function/f_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c index 6e9ef35a43a7..ec26df0306f2 100644 --- a/drivers/usb/gadget/function/f_fs.c +++ b/drivers/usb/gadget/function/f_fs.c @@ -1383,8 +1383,8 @@ ffs_sb_make_inode(struct super_block *sb, void *data, inode->i_mode = perms->mode; inode->i_uid = perms->uid; inode->i_gid = perms->gid; - inode->i_atime = ts; - inode->i_mtime = ts; + inode_set_atime_to_ts(inode, ts); + inode_set_mtime_to_ts(inode, ts); inode->i_private = data; if (fops) inode->i_fop = fops; -- 2.41.0