From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796044958; b=BJaJWYJMlbtp+FYKgzqVeiIc5Ll+SZhApaYpEZnZ1zUl68WrJBJg+ZUtKMaVGXmUmlNM MjUYETmLik1/9NIqqDZkCtrnAEd4rhtlmdKjcSdNo8ITipVNxdnrtJP8jm14rtbwciGaP bP2R+jbujJWRM9dYEuIz0kpLW16fhsnmG35u78oyWwRttr8PEKgQ9N0e/MpjLN0qoD/TX cvKkzig2X1wK8ka81xo2NtfQLDbNFbaqI0Y2Yqu1muUk59Bo2DmrS92M55ejumqk12I1k kAHcz1mzISXMMC61dVk3f1TTu5A2KRAbUV/25+r08QWo3QsGNykDJVyrr73M/tBSa8g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796044958; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=TDAp+B5sOlW8w36jvEhkQEhddsmH0puja5nlo4hQIXs=; b=PmTvxDylzO1bv14BeN/rEV4xHHRGYMtkpDc5UYQUReT0+e5U0Yz/c9yTSGca/+vxkWFu dwuEJ1LuDf0F9zPORvPn74TWTY81R3g98LMKekB0D4+20I6CF4qvv80+1gmhnTt3UEUVW 6FCRyOBAjPJoEt+x1lJFoYviLNP340HsQmy77KvYktekQ2arq7KoF31rjz5ERRE2POZXt 0QMhIshh7AXnrnFRgKvyfSJplRTUZcQcT5dtbryNTpABZzTenFpCRR8c9BR9bN9ViriKz ggJ1M/zE+MIdl7F7Vk1I/SnsvzCETC2zvKBQ8xbq+VOgYTQ9YpAnWPmJMc3e6o5nYXQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4132606A6B5; Mon, 30 Nov 2026 13:22:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4132606A6B5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 6F3C068AFE; Mon, 30 Nov 2026 14:22:33 +0100 (CET) Date: Mon, 30 Nov 2026 14:22:33 +0100 From: Christoph Hellwig To: Zizhi Wo Cc: Christoph Hellwig , Carlos Maiolino , dgc@kernel.org, djwong@kernel.org, linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, yangerkun@huawei.com, chengzhihao1@huawei.com, wozizhi@huawei.com Subject: Re: [PATCH V2] xfs: remove duplicated lines Message-ID: <20261130132233.GA29956@lst.de> References: <20261126135947.2820748-1-wozizhi@huaweicloud.com> <20261130125256.GA27971@lst.de> <86f04f98-36b4-48d3-9ee9-f4545c53bfd1@huaweicloud.com> X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86f04f98-36b4-48d3-9ee9-f4545c53bfd1@huaweicloud.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Nov 30, 2026 at 09:19:34PM +0800, Zizhi Wo wrote: > I squashed them together because when I sent a similar dead-code cleanup > series earlier this year [1], Carlos suggested that trivial removals > like these don't really need to be split per-file and could live in one > patch. I took that as the preferred style for this kind of change. Splitting up per file is obviously always a bad idea. Splits should be per logical change, and removing two totally unrelated duplicate prototypes / forward declarations is not really only logical change by any definition.