Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1268052rdb; Mon, 2 Oct 2023 04:47:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGjgSAASXFVY8bAB+pLxHFl95KTA1FRc/sfNdFO90rkx+SYCvWuX0UK/U5CGQ62Mruqq4l X-Received: by 2002:a05:6a20:6a27:b0:15d:8366:65be with SMTP id p39-20020a056a206a2700b0015d836665bemr17705745pzk.9.1696247268016; Mon, 02 Oct 2023 04:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696247267; cv=none; d=google.com; s=arc-20160816; b=vuAeIYsjLBdfeciXeorukiF7Ck4u4+bDLfvqfnrYdKPc10pyln3QEk1xaoGo+tFCWQ YkOLMXmX7E4tevVXKbpXwskAevvy1UMyrmwb2cpXxJyZFPS+LJfgU6UUEoeUS6RHUpfK npF+PZMaQMOwWFFfordaPEpmek1RQisrMe2zNqLz4d805aTI6svM9tiBdQaBiR/x2U/K z5t5Llqs/aS6UMsK2M+pMX02CjJy8fXiZq63xLCgf2rkFwVW+L8h6s/HebQ9Fa5Jlbqa kQEYIFWuzCMgvJ+b0xabAlKnXc77GXgn72XhlVEv0ZR2fJzqJWKlB0hQLgYobP0GHZ8J /W3Q== 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:date:dkim-signature :dkim-signature; bh=Jn+IPu4jUjeHXqoTk9a25cZdn5INxLAToZsVAEMdd1U=; fh=KypCOrMncnqRTLHWDgUSN/eMcFohRDHF0O7RoABs9WQ=; b=mwt9w4w7gPXQGGq9rEv0prKZCxOLuO99FBQqJx0obPW+jAj4kWDSSlkpHc9H1mvJlW eCZxu+V1CfNUFGrQP3jCaEnN4950GrVojrKVr7P2gElZLujJYFXdjHqJh5r3OHVb6fFI m8oXE2xyIAJTfZRkkUymbDl4SinS0iXktH7CIUBldqi8DljYYy4MOxrE6s+p0rfEqbiG iDVIXxib/X0zwYKN5NjbED+3WPIluCopKpL4MoIo7HFtYq/mhlRhvhc1zm4MmCHTb/wz PG1VSoz9xaMiH41z/7nxen+yMcjBJKcHxd5ZqTnC8qzhfhk6xzJ1fiuRELTjdl1nrIs/ iqfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="t1o/nMvk"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=RGWUVz7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i5-20020a633c45000000b00585ad17516csi6250346pgn.662.2023.10.02.04.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 04:47:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="t1o/nMvk"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=RGWUVz7J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5DCA78061382; Mon, 2 Oct 2023 04:21:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236637AbjJBLVs (ORCPT + 99 others); Mon, 2 Oct 2023 07:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236626AbjJBLVr (ORCPT ); Mon, 2 Oct 2023 07:21:47 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51E64BF; Mon, 2 Oct 2023 04:21:44 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 02CC11F460; Mon, 2 Oct 2023 11:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1696245703; h=from:from:reply-to: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=Jn+IPu4jUjeHXqoTk9a25cZdn5INxLAToZsVAEMdd1U=; b=t1o/nMvklGqtCsyNUhAwuWdrgvI4fHB/yJF16C68AZLSBJHOYdYIPGavIG188k1sDvwvAP oPMxtOmaUpd+oGLP8agTR+qPokroZp6/G2/n2SsUnAT8pfVuE2iZFRkMmDL/TOCTUbVqqp oTeZr7ycQSWuqn/KpSuNzWTPgxY1y/Q= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1696245703; h=from:from:reply-to: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=Jn+IPu4jUjeHXqoTk9a25cZdn5INxLAToZsVAEMdd1U=; b=RGWUVz7J5mMRjTTq2zLv8odl2DvWnOKQwmzmUzo47qoAY+VTgSvke7/upkb4AEiegeDQ/5 5bSklQJgPHcIs+Cw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E7D1713456; Mon, 2 Oct 2023 11:21:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 74WOOManGmXEAQAAMHmgww (envelope-from ); Mon, 02 Oct 2023 11:21:42 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 7D544A07C9; Mon, 2 Oct 2023 13:21:42 +0200 (CEST) Date: Mon, 2 Oct 2023 13:21:42 +0200 From: Jan Kara To: Stephen Rothwell Cc: Christian Brauner , Kent Overstreet , Jan Kara , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the vfs-brauner tree Message-ID: <20231002112142.bfjj54ikijf4iwfr@quack3> References: <20230928105443.1b1ad98c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230928105443.1b1ad98c@canb.auug.org.au> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 04:21:53 -0700 (PDT) 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. Honza -- Jan Kara SUSE Labs, CR