From: Darrick J. Wong Date: Mon, 12 Oct 2020 21:10:03 +0000 (-0700) Subject: xfs: fix Kconfig asking about XFS_SUPPORT_V4 when XFS_FS=n X-Git-Tag: v5.10.7~1324^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=894645546bb12ce008dcba0f68834d270fcd1dde;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen --- diff --git a/fs/xfs/Kconfig b/fs/xfs/Kconfig index 5422227..9fac5ea 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