Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6907613ybi; Mon, 8 Jul 2019 10:37:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNCtxI+IASm7hmIon1yfQd0F/qlUb0dpJYdU6xGRghhvj8uQSwC5iuR0DvVvfftkeoQ07s X-Received: by 2002:a17:902:6a87:: with SMTP id n7mr26185643plk.336.1562607473175; Mon, 08 Jul 2019 10:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562607473; cv=none; d=google.com; s=arc-20160816; b=F2f8x1ghuZGFn0raniY62qvfym0QJ3hyd4blrX1ejHzqAdKEQzzhX7VWkDGqVEPyAd BiK09+T9iNpxo0tXViaLzodyrUUeHNDizO47lKpAalZbQvDydGC1phEaXFWkG3SgN/fT 57c87kMx7fL26ZsAHp4DWueY7P4DiWrc3vyBSX5YVASBY7Of266lQCWX7xZpJvhdMDfn KmZnjetSzph+MvfYIs2wes/qVnEoSsgmIyPeJbO+tuoRE52xFtm089J5lT/LgLlg0A8P exF+S3uFi4rzJ3Ao581Y5Me6wevOMujWEhsr91NrEAoD8WX0JCCnQJcHgh6oR3rxpdX1 kEEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wXoistLKUTvQOBrRdQXbKGe37/BB1ke/OMAcF7Lt8ME=; b=H7qpu7F1IhcbgsbbPBUXpAxoB6SDfx6CTEThqF9pqC5IeMfu6HsC/WrDqV90OUma+w LKhkIoPhQq35AV/yIjVHhWe0+XIdx8S+WcDUVXPx3Tp6UA2Wo8iee2XdlGqrE2VP38uk kAJco59y7x+9IzNmwRooOaGChqMi7YpEaAVdjQ44yxE30wSCLbJK82EOqFSyLMtd5HOy alzvrX46r+zU7mQr4zcJLL6JYAjhHnrpNBUEW4ghef6crdBpVYcjALPaTIg3cbkSubcB sZ3IstLkVQJ9XvFPz+aI5wXDD51FA46ZIXYpxT68dzJpwF53d9dieq3Onnw85uIhdezy SZsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h25si20441362pfn.56.2019.07.08.10.37.37; Mon, 08 Jul 2019 10:37:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731052AbfGHMwT (ORCPT + 99 others); Mon, 8 Jul 2019 08:52:19 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:34741 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728615AbfGHMwT (ORCPT ); Mon, 8 Jul 2019 08:52:19 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MJEpp-1i3VP02DD1-00KhBy; Mon, 08 Jul 2019 14:51:37 +0200 From: Arnd Bergmann To: Chris Mason , Josef Bacik , David Sterba Cc: Arnd Bergmann , Johannes Thumshirn , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] btrfs: add back libcrc32c Kconfig dependency Date: Mon, 8 Jul 2019 14:51:29 +0200 Message-Id: <20190708125134.3741552-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:AWoLOmaQqVkujvlZOGfqeO7XSmN82N7FdvLMZoC0P6AUFUFZx48 WLw5ya4uxvD4RRH6XtfdIFn0CZClvtQ6PP9bIixsrEYcn9IuAq6md22ylxX6t4ZC4A4dnEc 8SE9zATLkC30w5tVjHlsa8qBcXCbTRNlC19z22fsFdVr8UMMtbHqzeH95nZ5by2OhMmffGD HKJCWhtTExVikb3F7CM+Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Q0Mbfm6OUnM=:WepD4bGaXeT2jygN77K7/e JtZxBq72jVyz4n3NocspMdXbdCOiDyrnzOFrT45GBFacOHN7pOMMPbMW2z2V1KIYQGr+mlmUe bkUg0+rgPHCDZLpF9LY8FmmEofm4Tj4NkVtvpLGXNsjiBaX8gtChAL4LNdmShZR4J2nY2OVF2 wHm/HD4K81gvd/Df5Zb8EkmpvqBXnxAXda66FFl/m6bXa1+St1QMyEdf2l1TBL2OYlmA4T8qe fTsX55LGvg/4UguDYH3ixkjiuwMtXrrp3QLcLSW1hcveo+/Lsaq9h4wUkI9dRkArWaN12t/X2 Imvt7mL5BOD+OvVtp6HQa/CSxq++5h6b08dSBI9+/LYs9WIuB2hqSfvbZ++q+L5MQU8r3W/Od AGwgIj8FgfBMGD02uhYHCqQ2k/nGKkYAckIn1D3KQD1xJB0eLbLbxxP1JYQLOPjF4AGibyb7N N6/2W1icPIrIKn1GPl1Hm06wjTVWTLyCQonTUIlASJpvyzbUT+q80w5sglcFH0y8IweN3UbAI 2jYleIMtFYxJvY3MoISNxEJZ2V/bYbYnh2s2PRNLKYZvloqKmU0/pm7ZNqz78SXkrPnkDtQ4F SM2zYC29uG4wb99GdrSU/nMZDt4UgXFO0pb4qcBLF86YX/1iUnJIXtCu8R3IiuXViPSv8Bv9K Ly4eiK5P1GMDn4hE5Gnu+0Y9LyIX078toPMPOq0/8fMzip/94bS+6ViIbON1maNfhn7CkmuZr Uk41zkVAUDjnpyv0Mzl3avcCHyR5gfpGmnf1Hw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While part of btrfs now uses the crypto shash interfaces for crc32c, we still get a build time dependency in other places: fs/btrfs/super.o: In function `btrfs_mount_root': super.c:(.text+0xc0d4): undefined reference to `crc32c_impl' fs/btrfs/super.o: In function `btrfs_print_mod_info': super.c:(.init.text+0x3e28): undefined reference to `crc32c_impl' fs/btrfs/extent-tree.o: In function `lookup_inline_extent_backref': extent-tree.c:(.text+0x17750): undefined reference to `crc32c' fs/btrfs/extent-tree.o:extent-tree.c:(.text+0x177f4): more undefined references to `crc32c' follow Change Kconfig to depend on both. Fixes: d5178578bcd4 ("btrfs: directly call into crypto framework for checksumming") Signed-off-by: Arnd Bergmann --- fs/btrfs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index 2521a24f74be..aa7453d44e59 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig @@ -3,6 +3,7 @@ config BTRFS_FS tristate "Btrfs filesystem support" select CRYPTO + select LIBCRC32C select CRYPTO_CRC32C select CRYPTO_SHA256 select ZLIB_INFLATE -- 2.20.0