Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34CE4C001DF for ; Tue, 1 Aug 2023 15:31:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232163AbjHAPbJ (ORCPT ); Tue, 1 Aug 2023 11:31:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjHAPbH (ORCPT ); Tue, 1 Aug 2023 11:31:07 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A32EE for ; Tue, 1 Aug 2023 08:31:05 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 4C9626732D; Tue, 1 Aug 2023 17:31:01 +0200 (CEST) Date: Tue, 1 Aug 2023 17:31:00 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Jan Kara , Christoph Hellwig , Al Viro , David Howells , Aleksa Sarai , Karel Zak , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH RFC 1/3] super: remove get_tree_single_reconf() Message-ID: <20230801153100.GB12035@lst.de> References: <20230801-vfs-super-exclusive-v1-0-1a587e56c9f3@kernel.org> <20230801-vfs-super-exclusive-v1-1-1a587e56c9f3@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801-vfs-super-exclusive-v1-1-1a587e56c9f3@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Aug 01, 2023 at 03:09:00PM +0200, Christian Brauner wrote: > The get_tree_single_reconf() helper isn't used anywhere. Remote it. Yeah, I've got pretty much the same patch hiding somewhere in one of me trees.. > -static int vfs_get_super(struct fs_context *fc, bool reconf, > - int (*test)(struct super_block *, struct fs_context *), > - int (*fill_super)(struct super_block *sb, > - struct fs_context *fc)) > +static int vfs_get_super(struct fs_context *fc, > + int (*test)(struct super_block *, struct fs_context *), > + int (*fill_super)(struct super_block *sb, > + struct fs_context *fc)) .a althought keeping the existing formatting here seems much more readable to me. No idea why the odd align to brace formatting has picked up so many fans recently given that it is horrible to read and causes tons of churn when touching the protoptype or function name.