From: Andrew Morton Date: Thu, 13 Jan 2011 00:59:13 +0000 (-0800) Subject: fs/ext4/inode.c: use pr_warn_ratelimited() X-Git-Tag: v2.6.38-rc1~397 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=6db26ffc917b609402619e03df5af8d1cd371ce7;p=~shefty%2Frdma-dev.git fs/ext4/inode.c: use pr_warn_ratelimited() pr_warning_ratelimited() doesn't exist. Also include printk.h, which defines these things. Cc: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index e80fc513eac..549465fef7e 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -39,6 +39,7 @@ #include #include #include +#include #include #include @@ -3737,7 +3738,7 @@ static int ext4_set_bh_endio(struct buffer_head *bh, struct inode *inode) retry: io_end = ext4_init_io_end(inode, GFP_ATOMIC); if (!io_end) { - pr_warning_ratelimited("%s: allocation fail\n", __func__); + pr_warn_ratelimited("%s: allocation fail\n", __func__); schedule(); goto retry; }