[PATCH -next] ceph: rbd depends on BLOCK

From: Randy Dunlap
Date: Wed Aug 04 2010 - 13:16:51 EST

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

When CONFIG_BLOCK is not enabled, fs/ceph/rbd has:
file: fs/ceph/rbd.c: errors: 71, warnings: 18

This is due to BLOCK being spelled as CONFIG_BLOCK
(and depends on being spelled as select).

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
fs/ceph/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100804.orig/fs/ceph/Kconfig
+++ linux-next-20100804/fs/ceph/Kconfig
@@ -28,7 +28,7 @@ config CEPH_FS_PRETTYDEBUG
config CEPH_RBD
bool "Rados block device (RBD)"
depends on CEPH_FS
+ depends on BLOCK
default y
If you say Y here, ceph will include rbd, the RADOS block

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/