From patchwork Sun Jan 3 21:43:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11996013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 539D3C433DB for ; Sun, 3 Jan 2021 21:44:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2538C20936 for ; Sun, 3 Jan 2021 21:44:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727379AbhACVon (ORCPT ); Sun, 3 Jan 2021 16:44:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:37952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbhACVom (ORCPT ); Sun, 3 Jan 2021 16:44:42 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DEC6A208BA; Sun, 3 Jan 2021 21:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609710242; bh=NUvOstWAZ2abHlSEN0ENegwqm1Zl/PfYh383yi9X/Ac=; h=From:To:Cc:Subject:Date:From; b=XYbJ6QMdOKMEVEVLwSZu+iTicaUyoczacElYeThoJdWw6td5isOyboGGmYrnaoBE5 H6gdfJWFFvHtGjvFmyoU354BTHM49ojP5QCnAgoOU4ZviATxr7NJI1wvd/LOteK/Jy 8mLmXoAw3HWoCIvDTTagFGYFNDGayJDwh4q/E9Ty6weWO23fTaMQ2XkypNhVhMZC3V 9MICdwi3B19rhFs6FL0wEwGJkF+hkzEkWQcjiRB2JA8Ek3qM1wbTRl9olAUaiHf+7Q bNs1hEXOR41dMwxlabzq4fSQ+Qr+pR0Ft/xgov9OCfa0gwJ+u1Fe7BDxKTsoGysDsn izRgQstWP1USQ== From: Arnd Bergmann To: Damien Le Moal , Naohiro Aota , Dave Chinner Cc: Arnd Bergmann , Johannes Thumshirn , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] zonefs: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:43:52 +0100 Message-Id: <20210103214358.1997428-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org From: Arnd Bergmann When CRC32 is disabled, zonefs cannot be linked: ld: fs/zonefs/super.o: in function `zonefs_fill_super': Add a Kconfig 'select' statement for it. Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system") Signed-off-by: Arnd Bergmann --- fs/zonefs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/zonefs/Kconfig b/fs/zonefs/Kconfig index ef2697b78820..827278f937fe 100644 --- a/fs/zonefs/Kconfig +++ b/fs/zonefs/Kconfig @@ -3,6 +3,7 @@ config ZONEFS_FS depends on BLOCK depends on BLK_DEV_ZONED select FS_IOMAP + select CRC32 help zonefs is a simple file system which exposes zones of a zoned block device (e.g. host-managed or host-aware SMR disk drives) as files.