Subject: [PATCH -next] ceph: rbd depends on BLOCK

From: Randy Dunlap <[email-masked]>
Date: Wed, 4 Aug 2010 10:16:24 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
---
 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
-	select  CONFIG_BLOCK
+	depends on BLOCK
 	default y
 	help
 	  If you say Y here, ceph will include rbd, the RADOS block