projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5180e
)
drbd: needs __ratelimit()
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 7 Oct 2009 17:26:00 +0000
(19:26 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/drbd/drbd_int.h
b/drivers/block/drbd/drbd_int.h
index 4e6255991e5b504f5fe6e89d9503b08e939f2014..2312d782fe990df0f0db5ca83aa82de5ea1045e2 100644
(file)
--- 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>