Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1597361rdb; Mon, 2 Oct 2023 14:58:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFalatSqmmkuIL7ocS6p5rHjPeIux/oHzQzt0VVljhy4l0XDG+Y9Wy+BSQJvpcK2IU4SezB X-Received: by 2002:a05:6358:7e07:b0:142:fba8:dcfc with SMTP id o7-20020a0563587e0700b00142fba8dcfcmr15421296rwm.16.1696283893378; Mon, 02 Oct 2023 14:58:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696283893; cv=none; d=google.com; s=arc-20160816; b=hW3dz4JxbAFVOvkPMQe3uTb/trY+OQollswN1IOglGo/u5/r65wLSFdBl3El1h2sFD BL+yu+Zg7yCtzbrOt3w5/KwUDLZDKSI21x8MPg4wmuvNGFI1Z9IBGX6w3xDWMLieAHyi tddSh0X2ZUGg5pt8LiHqzYu1QeRRDKxS2dK1fM0Qm27SRihlC806X9IPiQxYDDedLTxu 9yOKuqFOMEbPk++vGVN3ZU3F+5yM3Z+pjbR/awnf60aREZAiddESVcS8knzoXAU7TgVr x84f4+GEE5T6WP3QtyOJ826ey/GQBfiVQKGGx3ct7YCth0nubUq6l/ys5Xot5xJjlMUs Hw5A== 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=O8HVPZ56bJoZANjNFw676tpkdWp8TtuahrrDrd78TtE=; fh=KypCOrMncnqRTLHWDgUSN/eMcFohRDHF0O7RoABs9WQ=; b=YlBUz4smNXEdLa7YFB5+K4IpoaWhjCKoKJZxLJoVlvZwghYh8KlTq89T1UpO6/+7BG 3DYVt+lxq3mSrIWdl9x+aBFqcaTh+0tcx78uSl/4QXJmhzREDgdZiXsnyPK5NMbReTzO BCGO00Jrykq0ty9NT2UCulRq9DOUg8zhm/J3fH3TRYzd/8wCU05n56nR5yfpQY1YxMWj 3hJW4gZnxQ5eO2HQkj3p+qDq13oa84h3pkDuEvy6GvYtD8cmHICTB6hhzBxczx+z8Ohe rMFzrfayVHcP8xDMs6xTDA9evyHUi0GSpDJrXRSTVZN+IZHOK0HPPY4ehSDLrEebTsVT Suww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="PIgyTep/"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j9-20020a056a00234900b00690d7d99e2fsi30040180pfj.212.2023.10.02.14.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 14:58:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="PIgyTep/"; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 8085B807C866; Mon, 2 Oct 2023 04:27:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236634AbjJBL0y (ORCPT + 99 others); Mon, 2 Oct 2023 07:26:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231352AbjJBL0w (ORCPT ); Mon, 2 Oct 2023 07:26:52 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29586BF; Mon, 2 Oct 2023 04:26:50 -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 E0FAD1F747; Mon, 2 Oct 2023 11:26:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1696246008; 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=O8HVPZ56bJoZANjNFw676tpkdWp8TtuahrrDrd78TtE=; b=PIgyTep/4Omtrl8nYIssGr0Y/13VL+1/saX/ZBd0Od5zQgKqM5jyEjNmUFWSqqlicfuM1m Ubwe0sqDmdpT6bXBWdtMnQwfKLNwNCciZ63gfv4hirj/SWGjMQqUToIQbGnt1vuKxnFxer CPDpVrNBRZX/OW6s97CZiHWAl/TO9yU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1696246008; 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=O8HVPZ56bJoZANjNFw676tpkdWp8TtuahrrDrd78TtE=; b=ViArQbUVyS5DjeLSMcxQ6sjO9/SljQNYX5KbmMS6ryStPPFXMtd7gqndur77ywUQaZ6o0V XM8yZQNLWcN5TIBw== 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 D2D5713456; Mon, 2 Oct 2023 11:26:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 54R2M/ioGmVCBAAAMHmgww (envelope-from ); Mon, 02 Oct 2023 11:26:48 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 713F7A07C9; Mon, 2 Oct 2023 13:26:48 +0200 (CEST) Date: Mon, 2 Oct 2023 13:26:48 +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: <20231002112648.rn2o4dvifn7x4zle@quack3> 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-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 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 04:27:08 -0700 (PDT) On Mon 02-10-23 13:21:42, 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. Oh, and one more note - Christian is on vacation this week so Stephen please just revert the commit in the linux-next until he returns and updates his tree. Thanks! Honza -- Jan Kara SUSE Labs, CR