summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-10-07 19:26:00 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-07 19:26:00 +0200
commit132cc538cd90f60a0b5df6a512dfd4bc5fe2039a (patch)
treed3c3b2b20bcf7f9f42710e6d7a3d5e026268fa01 /drivers/block/drbd
parent9f5180e5c331d7b3ccc35e1a78072235d38f9f34 (diff)
downloadtalos-op-linux-132cc538cd90f60a0b5df6a512dfd4bc5fe2039a.tar.gz
talos-op-linux-132cc538cd90f60a0b5df6a512dfd4bc5fe2039a.zip
drbd: needs __ratelimit()
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>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r--drivers/block/drbd/drbd_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 4e6255991e5b..2312d782fe99 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/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>
OpenPOWER on IntegriCloud