aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index e80fc513eacc..549465fef7e9 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -39,6 +39,7 @@
39#include <linux/bio.h> 39#include <linux/bio.h>
40#include <linux/workqueue.h> 40#include <linux/workqueue.h>
41#include <linux/kernel.h> 41#include <linux/kernel.h>
42#include <linux/printk.h>
42#include <linux/slab.h> 43#include <linux/slab.h>
43#include <linux/ratelimit.h> 44#include <linux/ratelimit.h>
44 45
@@ -3737,7 +3738,7 @@ static int ext4_set_bh_endio(struct buffer_head *bh, struct inode *inode)
3737retry: 3738retry:
3738 io_end = ext4_init_io_end(inode, GFP_ATOMIC); 3739 io_end = ext4_init_io_end(inode, GFP_ATOMIC);
3739 if (!io_end) { 3740 if (!io_end) {
3740 pr_warning_ratelimited("%s: allocation fail\n", __func__); 3741 pr_warn_ratelimited("%s: allocation fail\n", __func__);
3741 schedule(); 3742 schedule();
3742 goto retry; 3743 goto retry;
3743 } 3744 }