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 4e62559..2312d78 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>