[BLOCK] Only include the compat ioctl code if CONFIG_BLOCK is set
Add an extra CONFIG_BLOCK_COMPAT that we can use in the Makefile Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
@@ -62,6 +62,10 @@ config BLK_DEV_BSG
|
||||
protocols (e.g. Task Management Functions and SMP in Serial
|
||||
Attached SCSI).
|
||||
|
||||
config BLOCK_COMPAT
|
||||
bool
|
||||
default y
|
||||
|
||||
endif # BLOCK
|
||||
|
||||
source block/Kconfig.iosched
|
||||
|
||||
Reference in New Issue
Block a user