summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-12 14:10:03 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-16 15:34:28 -0700
commit894645546bb12ce008dcba0f68834d270fcd1dde (patch)
treee6fea37fd62621a92cf98521e6cb8b85b7abbd86 /fs/xfs
parentd88850bd5516a77c6f727e8b6cefb64e0cc929c7 (diff)
downloadlinux-894645546bb12ce008dcba0f68834d270fcd1dde.tar.bz2
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