Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2b9e0aae1d50e880c58d46788e5e3ebd89d75d62
Commit:     2b9e0aae1d50e880c58d46788e5e3ebd89d75d62
Parent:     ab9c232286c2b77be78441c2d8396500b045777e
Author:     Linus Torvalds <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 12 17:58:36 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 17:58:36 2007 -0700

    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 <[EMAIL PROTECTED]>
---
 block/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index e108956..9bda7bc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to