Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8161838rwn; Wed, 14 Sep 2022 09:50:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cBUlTNA68zg8RnHC1qIc9kPVz+nNZaBSDIVxHsZSjxfnBqyokGleSJpTt5OrkM4Y47Vgh X-Received: by 2002:a17:907:a044:b0:770:da0d:171d with SMTP id gz4-20020a170907a04400b00770da0d171dmr23591820ejc.742.1663174219926; Wed, 14 Sep 2022 09:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663174219; cv=none; d=google.com; s=arc-20160816; b=XOn3RoDD+5nHcyhZyVsFrSd8I/CoEl+scgllCoAcLNo86hUY3QfmmVJs8NiD01f0wo RfiwEbq/rxxXiM0KqTx7mmEocv+ggzXKpZP6tgTpCWuaP41nA90riv7Fd8fJ8I89XDzw 6STB8EV+oisCw5KnM5nhOzyr4/w6hSb2xEaPjWc9lET/7cItU9ywlTy49NifjIsaHLmG rdqziFN4jKonNgSX49pa4m9/rS0OBqJJMdqJE/ffuLUcoROEpNlSsoQ75WOJeFqdktCw 1+I0fr1vwYch+HoBuHQw746v54ywW3QKQmlrBEb5iozLA5GsohnQOaQ2e8Yt8kcQDINC e5Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mkv+NQHZbZPuPmJ9+yk9rZf2f3DnOqp5F721KUDsHNE=; b=aVCuoMcR7qkPgCdmpm41yAHKrVNJl58WY6E9WfMeDPmGe01LxQA2IOYzdTY+xUxCuL 0u4/Bn15FrJEocM1HgxQARhNvzihjQU1z4kzIXqP9FVdgtRnV74p8afwKBYc4UhOcJg0 h9sJiKeE4YKSpUhFu29QVJxL+rnEvM1HJuvFlxshHD0HQ+Shfa3tCQM5u6/kvOfl7eqh W5Ndpkku4zVyRT6vTSnb/87DRjA0HE2PhNO58x3NEGujrAQ6Om6rhgAqjydst7OZPkr9 GXgDkC4eAAAz9RazVGKqW6lZ7sIFtVoOgKMI7qaqKoc8kTAqYe79wmeLds4767Ekux+t IAfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jv3MbkFD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he11-20020a1709073d8b00b00780488c11bbsi533410ejc.388.2022.09.14.09.49.54; Wed, 14 Sep 2022 09:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jv3MbkFD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbiINQnO (ORCPT + 99 others); Wed, 14 Sep 2022 12:43:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229964AbiINQnH (ORCPT ); Wed, 14 Sep 2022 12:43:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F6D76A4B9; Wed, 14 Sep 2022 09:43:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0868B61A00; Wed, 14 Sep 2022 16:43:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64258C433D6; Wed, 14 Sep 2022 16:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663173782; bh=EjPXfJLO1+GN85T0usDe3eZ1WI8uwGT29GzyIUkxKB8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jv3MbkFD9XrNNbRiqrW7D9gJycDzg14D5hT04qn+XkpALBA+w9n0FThE2ts5mqYQB bFikJKSWqvqj6+OCAGwQsBV3SY5Nu6m3lWyQwL5/vsIu7jcg+WdPndR4Ua3GoI+ZW7 6tcEFc5BwIxpwUdY2Wa5/eExYsLZQa7WYrVW4ZWcPNLtummfwl9mDpC5TCE965eiL8 cq+goQwyp9sSGTV06iXuT811wE4zmLzzny0l4tpc6ScrrY6jPUD0u94QKVk+SYu7Zm 2j1dQ/GAROTRKIea5SrsdNgc2lM4JzFtzWB2wgut1AYG6/mFB1xDj5q9UHgsrsdcfA JLlynGKD9rPww== Date: Wed, 14 Sep 2022 09:43:01 -0700 From: "Darrick J. Wong" To: Gaosheng Cui Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: remove xfs_setattr_time() declaration Message-ID: References: <20220909065654.1156896-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220909065654.1156896-1-cuigaosheng1@huawei.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri, Sep 09, 2022 at 02:56:54PM +0800, Gaosheng Cui wrote: > xfs_setattr_time() has been removed since > commit e014f37db1a2 ("xfs: use setattr_copy to set vfs inode > attributes"), so remove it. > > Signed-off-by: Gaosheng Cui LGTM Reviewed-by: Darrick J. Wong --D > --- > fs/xfs/xfs_iops.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/xfs/xfs_iops.h b/fs/xfs/xfs_iops.h > index cb5fc68c9ea0..e570dcb5df8d 100644 > --- a/fs/xfs/xfs_iops.h > +++ b/fs/xfs/xfs_iops.h > @@ -13,7 +13,6 @@ extern const struct file_operations xfs_dir_file_operations; > > extern ssize_t xfs_vn_listxattr(struct dentry *, char *data, size_t size); > > -extern void xfs_setattr_time(struct xfs_inode *ip, struct iattr *iattr); > int xfs_vn_setattr_size(struct user_namespace *mnt_userns, > struct dentry *dentry, struct iattr *vap); > > -- > 2.25.1 >