drbd: update Kconfig to match current dependencies
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 6 Dec 2012 10:11:04 +0000 (11:11 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 6 Dec 2012 12:08:29 +0000 (13:08 +0100)
We no longer need the connector.
But we need libcrc32c.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/Kconfig

index df09837..7845bd6 100644 (file)
@@ -2,13 +2,14 @@
 # DRBD device driver configuration
 #
 
-comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
-       depends on PROC_FS='n' || INET='n' || CONNECTOR='n'
+comment "DRBD disabled because PROC_FS or INET not selected"
+       depends on PROC_FS='n' || INET='n'
 
 config BLK_DEV_DRBD
        tristate "DRBD Distributed Replicated Block Device support"
-       depends on PROC_FS && INET && CONNECTOR
+       depends on PROC_FS && INET
        select LRU_CACHE
+       select LIBCRC32C
        default n
        help
 
@@ -58,7 +59,8 @@ config DRBD_FAULT_INJECTION
          32    data read
          64    read ahead
          128   kmalloc of bitmap
-         256   allocation of EE (epoch_entries)
+         256   allocation of peer_requests
+         512   insert data corruption on receiving side
 
          fault_devs: bitmask of minor numbers
          fault_rate: frequency in percent