summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-12 23:10:03 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-17 00:34:28 +0200
commit894645546bb12ce008dcba0f68834d270fcd1dde (patch)
treee6fea37fd62621a92cf98521e6cb8b85b7abbd86 /fs/xfs
parentxfs: fix high key handling in the rt allocator's query_range function (diff)
downloadlinux-894645546bb12ce008dcba0f68834d270fcd1dde.tar.xz
linux-894645546bb12ce008dcba0f68834d270fcd1dde.zip
xfs: fix Kconfig asking about XFS_SUPPORT_V4 when XFS_FS=n
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig
index 5422227e9e93..9fac5ea8d0e4 100644
--- a/fs/xfs/Kconfig
+++ b/fs/xfs/Kconfig
@@ -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