Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1287652rwl; Thu, 10 Aug 2023 09:01:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkXDmXanfiC7jkW0i59VcQv8xmIbqgltHrM2qivI7tHavPFIHsljek1i+upSVE2pucee7W X-Received: by 2002:a05:6a00:24d2:b0:66a:2771:6c4d with SMTP id d18-20020a056a0024d200b0066a27716c4dmr3228216pfv.4.1691683295913; Thu, 10 Aug 2023 09:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691683295; cv=none; d=google.com; s=arc-20160816; b=fB7yi0F4cUvLWLY1jdMonvlD8vnFb6+5n2ZgrzmyEKOmLZzFZ8YvvOXO/hud4Ai8T1 B/Vt+1kOE5/f5xVe2pM47z5qpf2rd9p+gk/yvhtNBfbKeEaiDXNgIeVht7yApBIf9hGe lGf/x5YNBTDE8vDw5RNbqNgEalDZYaBVcaRZHEY8oNifdm2zL9GN24RwLBASSwUbpY7q yxrGefZLJs+GSTIih4lrDoQhSum8TX/F20VQz86QM+ATEJ04Ba/GT7NmvnBr/H01lyCK y3OjnVL4buSrhyn1XjhYuGAj5VUF/85nWkkpVGwyQXANOGFVwulrGDNEgRrKniw7el3B gczw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=SwD4yxCC3PNZwMM/NgMlPh8pvm6VQqoNOkz2eh7pOcU=; fh=XECyZx3miwzQYJIkrPfrzTTjIyHkkt9CpID/0FvRV2Q=; b=CZcSbYqBp/0z2XanyTFwUhfTrdv9aiYF8bZOUryeHOm0+qc80nG6AN5kcK+xi1olip Fgp8NMgPTmJk2A0C5c6pykmC2IxEI7uOSdi+3A26ZBfJv0TOXSE9vvV2xVhFfiDzzQzd iUxuNbA3QVucCNT2axPoNts3roQgDyuCtJjCiJ4uBd9uCPeJ98werBnIu47ut3Zo0e17 AHvnKZqDZnW8PiGqcNq1LxjigCgPA2TeZaFZ6lMKE4azf1Gn/o3DpGhjVpjWPOpwrBWe 0eqeInCXy96hhzmSvJBKnDWDfSTOuqKgPYWzoZEqboHw1NWevXH6FDdXdQpgag9oreRb EcGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 bv68-20020a632e47000000b0055b6a782669si1734652pgb.261.2023.08.10.09.01.20; Thu, 10 Aug 2023 09:01:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234829AbjHJPvV (ORCPT + 99 others); Thu, 10 Aug 2023 11:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbjHJPvU (ORCPT ); Thu, 10 Aug 2023 11:51:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B81F1AA; Thu, 10 Aug 2023 08:51:20 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 8CD7567373; Thu, 10 Aug 2023 17:51:16 +0200 (CEST) Date: Thu, 10 Aug 2023 17:51:16 +0200 From: Christoph Hellwig To: Christian Brauner Cc: Christoph Hellwig , Namjae Jeon , Sungjong Seo , Theodore Ts'o , Andreas Dilger , Konstantin Komarov , "Darrick J. Wong" , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, ntfs3@lists.linux.dev, linux-xfs@vger.kernel.org, Al Viro Subject: Re: [PATCH 01/13] xfs: reformat the xfs_fs_free prototype Message-ID: <20230810155116.GC28000@lst.de> References: <20230809220545.1308228-1-hch@lst.de> <20230809220545.1308228-2-hch@lst.de> <20230810-unmerklich-grandios-281ae311e396@brauner> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810-unmerklich-grandios-281ae311e396@brauner> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org I think the btrfs hunk (below) in "fs: use the super_block as holder when mounting file systems" needs to be dropped, as we dropped the prep patch that allows to use the sb as a holder for now. I'll add it to my resend of the btrfs conversion. diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index f1dd172d8d5bd7..d58ace4c1d2962 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -69,8 +69,6 @@ static const struct super_operations btrfs_super_ops; * requested by subvol=/path. That way the callchain is straightforward and we * don't have to play tricks with the mount options and recursive calls to * btrfs_mount. - * - * The new btrfs_root_fs_type also servers as a tag for the bdev_holder. */ static struct file_system_type btrfs_fs_type; static struct file_system_type btrfs_root_fs_type; @@ -1515,7 +1513,7 @@ static struct dentry *btrfs_mount_root(struct file_system_type *fs_type, snprintf(s->s_id, sizeof(s->s_id), "%pg", bdev); shrinker_debugfs_rename(&s->s_shrink, "sb-%s:%s", fs_type->name, s->s_id); - btrfs_sb(s)->bdev_holder = fs_type; + fs_info->bdev_holder = s; error = btrfs_fill_super(s, fs_devices, data); } if (!error)