[PATCH -next] drbd: needs __ratelimit()

From: Randy Dunlap
Date: Wed Oct 07 2009 - 13:23:51 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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 <randy.dunlap@xxxxxxxxxx>
Cc: drbd-dev@xxxxxxxxxxxxxxxx
---
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>
--
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/