]> www.infradead.org Git - linux-platform-drivers-x86.git/commitdiff
xfs: fix Kconfig asking about XFS_SUPPORT_V4 when XFS_FS=n
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 12 Oct 2020 21:10:03 +0000 (14:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 16 Oct 2020 22:34:28 +0000 (15:34 -0700)
Pavel Machek complained that the question about supporting deprecated
XFS v4 comes up even when XFS is disabled.  This clearly makes no sense,
so fix Kconfig.

Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
fs/xfs/Kconfig

index 5422227e9e93250cbd21bc3237f327891c16ddb0..9fac5ea8d0e486d0425a161e5baca9a579285f93 100644 (file)
@@ -24,6 +24,7 @@ config XFS_FS
 
 config XFS_SUPPORT_V4
        bool "Support deprecated V4 (crc=0) format"
+       depends on XFS_FS
        default y
        help
          The V4 filesystem format lacks certain features that are supported