From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] drbd: needs __ratelimit() Date: Wed, 7 Oct 2009 10:21:53 -0700 Message-ID: <20091007102153.1a19119b.randy.dunlap@oracle.com> References: <20091007173517.abfcfa2a.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091007173517.abfcfa2a.sfr@canb.auug.org.au> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Rothwell , drbd-dev@lists.linbit.com Cc: linux-next@vger.kernel.org, LKML , jens.axboe@oracle.com List-Id: linux-next.vger.kernel.org From: Randy Dunlap 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 Cc: drbd-dev@lists.linbit.com --- drivers/block/drbd/drbd_int.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20091007.orig/drivers/block/drbd/drbd_int.h +++ linux-next-20091007/drivers/block/drbd/drbd_int.h @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include