Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3148764rdh; Thu, 28 Sep 2023 04:19:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJNBXbr2yo5d44SvcoEOqRAKV/S+nlU420PaVDPGeqRi+eZr50V61HYI8L4QoKWJwxfqNt X-Received: by 2002:a05:6a21:78a2:b0:15e:1486:1e08 with SMTP id bf34-20020a056a2178a200b0015e14861e08mr1021137pzc.19.1695899977189; Thu, 28 Sep 2023 04:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695899977; cv=none; d=google.com; s=arc-20160816; b=D2Rho70ZDzSKkr2jKUjX51FSIklbL926N5zqmchebFHIENtQp+3iL9FAEdXU7NG6nM bfrzUT921H5cHZUxznTaZiI+3trY1Pq0pI1zRPqHOJ/Vt9Zp8pk74RSCLo6epNDC1kT7 EOUQOtDupGAvWG538DUk/4koKPGSuhzsWoGDBcgmLnJKl4pkb8R5nhlzdtjjMH8iCiSg m2IDuJPf7SYRF32jdQWxxD42uN4nL5qWaC0rpQD4lxuC/9Zpg9e+PMI3UdRa0YUvjZMR DAtdCR0RWCIMa3ZM6nHl8QNlyjW4me4vlmwPa5YHOO8uDgk/MwVBSdIEmiJIKw9UphIV hxSw== 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=DV5ZirvMaB3QLBld2EE5eH/2VGWgR7Rg3N6aXB4EiMY=; fh=aPoMQYeH3F20yp3HXGkR3ALuDT4a0EJUzoGf/IQZKok=; b=Fk/dXwCO5jLJWELELzRAkLj/u4FpcSInrZjqP5+rf++l1sJgKmYwW5q5Tq0at58GZU yHPRIAWIBlH2jHS/9iE3V4Q3UmS1AnJdhaME0Gy2QxUqdUNqqhGaRi2V2FT8c8BRIcTM hPj0HA5I4RVa9cvVft+Z+CICc94S+CbUZjxS3syjjuiXwPqn0i1wb7PIdu13vnw7OAXL 438D5K+dspuud7lJ1V9zMIX0PLxur48kQhoW6dkQyinZGlYzVS/DvMgwQBnKRZJIWn5T aQuxzxh03R0A82x/BKhaTeu0F/PHAwYzQpxDPatcfmk7fF7eo5Bf+xZaVvVw1IRviOdI CTtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GI7swmbV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id k5-20020a17090a9d8500b0026376acd6fesi13520697pjp.22.2023.09.28.04.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:19:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GI7swmbV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 66C4B8027DFB; Thu, 28 Sep 2023 04:05:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232191AbjI1LFT (ORCPT + 99 others); Thu, 28 Sep 2023 07:05:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232064AbjI1LEd (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 7D67410CA; Thu, 28 Sep 2023 04:04:28 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C46A2C433C9; Thu, 28 Sep 2023 11:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899068; bh=slu/w5rI+KXxDY+5fpzzCTL3L8BN0xD+uN4a6hp53rY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GI7swmbVibd1tjnpl/jAkDP9LmrrY1nhy3unkOrf0gYEvrV9e9PCt3H2+UCFavHjE U2ynj3iONb40+fZ5mpQ4FOwKUOcLuP02UXSoHignubFnOPEscgNc43+oxi3Avi7a/E yGSuUbxkLF99cgYAQdsuIahGPKcofVDZPrISq886MwofoYoXcFTDsaY0FsRWqOnwjA i8hFXvoUv70ngcew2yEjJ7BB/7ZcF4SHKXF4qMKUwRcNUEUMYQRQqRzorxu5he45Ru 61F7zWbFo9C5MNYOujXCAz427YNK1L1L/liwrSvDDgx3h0grwXE0mKxcIHYZrCYWDN yCZyYBzSzQmMQ== 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 14/87] drivers/usb/gadget/legacy: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:23 -0400 Message-ID: <20230928110413.33032-13-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 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:05:40 -0700 (PDT) Signed-off-by: Jeff Layton --- drivers/usb/gadget/legacy/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c index ce9e31f3d26b..cdc0926100fd 100644 --- a/drivers/usb/gadget/legacy/inode.c +++ b/drivers/usb/gadget/legacy/inode.c @@ -1969,7 +1969,7 @@ gadgetfs_make_inode (struct super_block *sb, inode->i_mode = mode; inode->i_uid = make_kuid(&init_user_ns, default_uid); inode->i_gid = make_kgid(&init_user_ns, default_gid); - inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode); + simple_inode_init_ts(inode); inode->i_private = data; inode->i_fop = fops; } -- 2.41.0