aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-10-07 13:26:00 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-10-07 13:26:00 -0400
commit132cc538cd90f60a0b5df6a512dfd4bc5fe2039a (patch)
treed3c3b2b20bcf7f9f42710e6d7a3d5e026268fa01 /drivers
parent9f5180e5c331d7b3ccc35e1a78072235d38f9f34 (diff)
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')
-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 @@
34#include <linux/bitops.h> 34#include <linux/bitops.h>
35#include <linux/slab.h> 35#include <linux/slab.h>
36#include <linux/crypto.h> 36#include <linux/crypto.h>
37#include <linux/ratelimit.h>
37#include <linux/tcp.h> 38#include <linux/tcp.h>
38#include <linux/mutex.h> 39#include <linux/mutex.h>
39#include <linux/major.h> 40#include <linux/major.h>