Skip to content

Commit

Permalink
Only enable BLOCK_COMPAT if COMPAT is needed
Browse files Browse the repository at this point in the history
IOW, it needs to depend on both CONFIG_BLOCK and CONFIG_COMPAT.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed Oct 13, 2007
1 parent ab9c232 commit 2b9e0aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ config BLK_DEV_BSG
protocols (e.g. Task Management Functions and SMP in Serial
Attached SCSI).

endif # BLOCK

config BLOCK_COMPAT
bool
depends on BLOCK && COMPAT
default y

endif # BLOCK

source block/Kconfig.iosched

0 comments on commit 2b9e0aa

Please sign in to comment.