From ff86a92ba493873d1166b6d7365f9b781b57a12d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 17 Dec 2010 10:40:47 -0500 Subject: [PATCH] --- yaml --- r: 229099 b: refs/heads/master c: a8901d34872dafcafa23efa0865dcecfd4fddf8c h: refs/heads/master i: 229097: d852f7c1ce330bf8e207f37e93f3bbaae801b379 229095: e7ea9722614ae9bfec1f1f239e64f123d1fad0b8 v: v3 --- [refs] | 2 +- trunk/fs/ext4/inode.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 209c24b7bed0..b0d8706ac2ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 225db7d35c33f076115a583abec238a696f4467e +refs/heads/master: a8901d34872dafcafa23efa0865dcecfd4fddf8c diff --git a/trunk/fs/ext4/inode.c b/trunk/fs/ext4/inode.c index db3cc913ee8f..c0fe426d444a 100644 --- a/trunk/fs/ext4/inode.c +++ b/trunk/fs/ext4/inode.c @@ -40,6 +40,7 @@ #include #include #include +#include #include "ext4_jbd2.h" #include "xattr.h" @@ -3729,8 +3730,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) { - if (printk_ratelimit()) - printk(KERN_WARNING "%s: allocation fail\n", __func__); + pr_warning_ratelimited("%s: allocation fail\n", __func__); schedule(); goto retry; }