[PATCH -next] ceph: rbd depends on BLOCK

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, August 4, 2010 - 10:16 am

From: Randy Dunlap <randy.dunlap@oracle.com>

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@oracle.com>
---
 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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for August 4, Stephen Rothwell, (Tue Aug 3, 10:10 pm)
Re: linux-next: Tree for August 4 (olpc_battery), Randy Dunlap, (Wed Aug 4, 9:47 am)
[PATCH -next] ceph: rbd depends on BLOCK, Randy Dunlap, (Wed Aug 4, 10:16 am)
Re: linux-next: Tree for August 4, add a new git tree please?, Konrad Rzeszutek Wilk, (Wed Aug 4, 3:24 pm)
Re: linux-next: Tree for August 4, add a new git tree please?, Konrad Rzeszutek Wilk, (Thu Aug 5, 7:37 am)
Re: linux-next: Tree for August 4 (olpc_battery), Randy Dunlap, (Mon Aug 9, 9:39 am)
Re: linux-next: Tree for August 4 (olpc_battery), David Woodhouse, (Mon Aug 9, 10:17 am)
Re: linux-next: Tree for August 4 (olpc_battery), Anton Vorontsov, (Mon Aug 9, 10:25 am)