Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2751189pxp; Mon, 14 Mar 2022 04:18:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd/BQOt9nc7i9zAzbiHKpP2AvgHrG5ghjkbWGR/Zsza9jkYXqy5TwEQLUId5zOnmFjl6La X-Received: by 2002:a17:90b:3887:b0:1bf:6f18:67e with SMTP id mu7-20020a17090b388700b001bf6f18067emr35672149pjb.69.1647256712951; Mon, 14 Mar 2022 04:18:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647256712; cv=none; d=google.com; s=arc-20160816; b=MVNceXIStOHlxyI1tVIGxx0fVcdZNGmoPis3VpowdRWOuYc97OKUwCIQ0awh4wITLh txS103Nbtt15KIseVgxzyErlqlFvB6knENEMut6+dd9jmEpRB87BD9H4Nc6mdQ6ISVco IOEpfzPdsz60MisuHuQbqOunE4Bts5C8fXOgi+E+u/3AGqUmeFEvNM37TGA5xq2V2PPK M5wJrXRgEtiEl8P1t5y0g9UjTy4EyL21YupUwSHHlqIka/OMszX+l3c3xfgU1PfyuGAu 0zsn3OOHrO0GFclC3BaSg9DES2U+/PF9e4iE/lv1SzPh3Nbpv9IIUJk5jISYLYkvLnnR HGRg== 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:mail-followup-to:message-id:subject:cc:to:from:date; bh=45Syk+vyaO1ScVqQ9Q45EjuuoFIlJ3fcP5q34Jv+f0k=; b=RrkUqRCDgtWfmTfFtceIWgXfk4Gx1inSmo2X5NPF2Em6uLRenexXz53Ntuj4Iq43XH ecp9MOvTKwAkeCZS2LsQroJ9WkVzQaEseHY5MW26z9SD30hWjGs9YrGcSfae4QFudyY2 8L3H/UAge9CUqCIIUd60yWikIZRxjFVxcLwMTye7wO5Mu7Ueolp6GzzyBVoYZqkdoenA 2sVMYjcRP4YbeJg+e/XYj54xGrXCJ7X4yo1eOLWfMUv88AOBNoW80tA3oTha++YocP4a Rfvr0+nrHDFm3uPzle/aO25t2Zrxs8n5aPy5R4Y0ezdHq2KSkCCqWH4rftNcfkHfy9wd Dzug== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a170902b70f00b0015025d1d302si13720973pls.284.2022.03.14.04.18.18; Mon, 14 Mar 2022 04:18:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233728AbiCMGwj (ORCPT + 99 others); Sun, 13 Mar 2022 01:52:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231217AbiCMGwh (ORCPT ); Sun, 13 Mar 2022 01:52:37 -0500 Received: from swift.blarg.de (swift.blarg.de [IPv6:2a01:4f8:c17:52a8::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 12BAA36171; Sat, 12 Mar 2022 22:51:29 -0800 (PST) Received: by swift.blarg.de (Postfix, from userid 1000) id EABBD41024; Sun, 13 Mar 2022 07:45:14 +0100 (CET) Date: Sun, 13 Mar 2022 07:45:14 +0100 From: Max Kellermann To: Al Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] include/pipe_fs_i.h: add missing #includes Message-ID: Mail-Followup-To: Al Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220225185431.2617232-1-max.kellermann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 2022/03/13 02:49, Al Viro wrote: > TBH, I'd rather avoid breeding chain includes; sure, mutex.h and wait.h > are extremely common anyway. Oh, well.... In my usual coding style, I expect I can include any header and it will bring its whole dependency chain (which should be as small as possible, but not smaller). This seems cleaner to me, because .c files need to have no insight what a .h file needs (even if the dependencies are "extremely common"). If the kernel coding style does not consider this useful, we can of course easily drop that patch.