Subject: [PATCH -next] drbd: needs __ratelimit()

From: Randy Dunlap <[email-masked]>
Date: Wed, 7 Oct 2009 10:21:53 -0700

From: Randy Dunlap <[email-masked]>

drbd_int.h uses __ratelimit(), so it needs to #include ratelimit.h:

drivers/block/drbd/drbd_int.h:1765: error: implicit declaration of function '__ratelimit'

Signed-off-by: Randy Dunlap <[email-masked]>
Cc: [email-masked]
---
 drivers/block/drbd/drbd_int.h |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20091007.orig/drivers/block/drbd/drbd_int.h
+++ linux-next-20091007/drivers/block/drbd/drbd_int.h
@@ -34,6 +34,7 @@
 #include <linux/bitops.h>
 #include <linux/slab.h>
 #include <linux/crypto.h>
+#include <linux/ratelimit.h>
 #include <linux/tcp.h>
 #include <linux/mutex.h>
 #include <linux/major.h>