drbd: needs __ratelimit()
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 7 Oct 2009 17:26:00 +0000 (19:26 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 7 Oct 2009 17:26:00 +0000 (19:26 +0200)
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@oracle.com>
Cc: drbd-dev@lists.linbit.com
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/drbd/drbd_int.h

index 4e6255991e5b504f5fe6e89d9503b08e939f2014..2312d782fe990df0f0db5ca83aa82de5ea1045e2 100644 (file)
@@ -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>