Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1959198rdb; Tue, 3 Oct 2023 06:28:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFct5lGdXY9xndLZJWuCxi/oWTFircgSHfTj6kkw3pOzPauPBDc1N5i0Z9R0D5B9IcIf/HN X-Received: by 2002:a17:902:d301:b0:1bb:30c5:835a with SMTP id b1-20020a170902d30100b001bb30c5835amr12665964plc.7.1696339702867; Tue, 03 Oct 2023 06:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696339702; cv=none; d=google.com; s=arc-20160816; b=KVp9vg54dKXwe/FSLmoSBWF48AK4gkiiF98lMobKQFIKsYCw09Oseesbldg+6soF7i 6s5FRFNc1M/NZXVFpawhKLezepuqOeG+kiNvS3h+ZbEfCbwETlEgDmGpAn5JJGDv2mUu RkgD9DXu/+W/Yf5IsnynZYbVHOTUBVA90RM8NSLjQfliqTAlOvi0XiRc0/dOPNmrRrqt aEYN9L3mmbZKobQTElkmcMu3y0tVZKAbZUyU+3NC4chdSerJpcMPhWUKfmm/mi/ubh8S 5NT+MEqGvLvehk81lJtb07Fk1d6RjfKtTc6ZYZVO1c+qxN5pF81E1cjbs7T2HDrHfrGa TfwQ== 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:dkim-signature:date; bh=Mjv6DuwAujLXffMtSe4op7ceXjyiGwTzOh9m+cMi8Vs=; fh=r0qmOMP8RjMQEP3aGF7Ugb0v2D3ejRbjzqumrThWIDE=; b=oFX/8BVhH87Qr4vWkD1BovLtEYZqvpblNH+fquatpBQs0Dg+38UzhzZ1q9ctdQ+ifK 2Kjx6glmAkT/F0PN5VebOUuOOm6iGzi3DhwwBAd8RrfwM86OnQUefD0UvsZBDUI9NCpg 4XBfcvCdX/SUtZ9wPIVb2Rov0U/YkAshhJ1jJc0l40cdqOEX4ZvuAq5kwyZ6/T+k60j+ AObZAZlmPFyVBmG8N9TN3BIpch4Adl2x0UHgQPjM0pXJWI8xlUYa2Eh/NzkR6nlLNYfR 0hFhiHQ0lFsYhi7yO8wSvr/kWlk0PZkY2XN/BIF4OWDVNp799iwMOkl1DmeRUgKzdf+C 186A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=e771mcc5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h9-20020a170902f54900b001bc8a9f5e52si1531061plf.135.2023.10.03.06.28.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 06:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=e771mcc5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A014B8119077; Tue, 3 Oct 2023 06:28:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238043AbjJCN1f (ORCPT + 99 others); Tue, 3 Oct 2023 09:27:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238655AbjJCN1a (ORCPT ); Tue, 3 Oct 2023 09:27:30 -0400 Received: from out-197.mta1.migadu.com (out-197.mta1.migadu.com [95.215.58.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C36A10D5 for ; Tue, 3 Oct 2023 06:27:18 -0700 (PDT) Date: Tue, 3 Oct 2023 09:27:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1696339636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Mjv6DuwAujLXffMtSe4op7ceXjyiGwTzOh9m+cMi8Vs=; b=e771mcc5uBUlgfXKpvdmXwBVHpXjNKLgMN5fgedhVWgWdr2nalKTR+mIV0ADMsTo70/CjF /w7jkesimDLcpMACnxNZZynTcxvUjqJ7JElwbaOx6/KsW9JuFhB5GJweYT3W+PrjkOHlER KJOlGI0tg8lEXk9+XF8/lne5ltnUhQU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Jan Kara Cc: Stephen Rothwell , Christian Brauner , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the vfs-brauner tree Message-ID: <20231003132711.djftyh7vltljy2hh@moria.home.lan> References: <20230928105443.1b1ad98c@canb.auug.org.au> <20231002112142.bfjj54ikijf4iwfr@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231002112142.bfjj54ikijf4iwfr@quack3> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 06:28:20 -0700 (PDT) On Mon, Oct 02, 2023 at 01:21:42PM +0200, Jan Kara wrote: > Hi! > > On Thu 28-09-23 10:54:43, Stephen Rothwell wrote: > > After merging the vfs-brauner tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > fs/bcachefs/super-io.c: In function 'bch2_free_super': > > fs/bcachefs/super-io.c:166:17: error: implicit declaration of function 'blkdev_put'; did you mean 'bdi_put'? [-Werror=implicit-function-declaration] > > 166 | blkdev_put(sb->bdev, sb->holder); > > | ^~~~~~~~~~ > > | bdi_put > > fs/bcachefs/super-io.c: In function 'bch2_read_super': > > fs/bcachefs/super-io.c:687:20: error: implicit declaration of function 'blkdev_get_by_path'; did you mean 'bdev_open_by_path'? [-Werror=implicit-function-declaration] > > 687 | sb->bdev = blkdev_get_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); > > | ^~~~~~~~~~~~~~~~~~ > > | bdev_open_by_path > > fs/bcachefs/super-io.c:687:18: error: assignment to 'struct block_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] > > 687 | sb->bdev = blkdev_get_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); > > | ^ > > fs/bcachefs/super-io.c:693:26: error: assignment to 'struct block_device *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] > > 693 | sb->bdev = blkdev_get_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); > > | ^ > > cc1: all warnings being treated as errors > > > > Caused by commit > > > > 953863a5a2ff ("block: Remove blkdev_get_by_*() functions") > > > > interacting with commit(s) from the bcachefs tree. > > > > I would have reverted that commit for today, except I used the old > > vfs-brauner tree due to another build failure. Can we just delay this > > one commit until after bcachefs has been converted (and any other > > references that may be added are fixed)? > > Yeah, I guess removing the final commit is the easiest solution at this > point. It complicates a bit the series to disallow writing to mounted block > devices which bases on this - either I have to pospone that to the next > cycle after we convert bcachefs or I have to find a way for the old > blkdev_get_by_path() API and the new functionality to coexist. I'll think > about that. Jan, Christain - what do you need from me for the conversion?