Only enable BLOCK_COMPAT if COMPAT is needed
IOW, it needs to depend on both CONFIG_BLOCK and CONFIG_COMPAT. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -62,10 +62,11 @@ config BLK_DEV_BSG
|
|||||||
protocols (e.g. Task Management Functions and SMP in Serial
|
protocols (e.g. Task Management Functions and SMP in Serial
|
||||||
Attached SCSI).
|
Attached SCSI).
|
||||||
|
|
||||||
config BLOCK_COMPAT
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
endif # BLOCK
|
endif # BLOCK
|
||||||
|
|
||||||
|
config BLOCK_COMPAT
|
||||||
|
bool
|
||||||
|
depends on BLOCK && COMPAT
|
||||||
|
default y
|
||||||
|
|
||||||
source block/Kconfig.iosched
|
source block/Kconfig.iosched
|
||||||
|
Reference in New Issue
Block a user