aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/file.c')
-rw-r--r--fs/ubifs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 9124eee73aea..8be827cc7078 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -705,12 +705,12 @@ static int ubifs_do_bulk_read(struct ubifs_info *c, struct page *page1)
705 int err, page_idx, page_cnt, ret = 0, n = 0; 705 int err, page_idx, page_cnt, ret = 0, n = 0;
706 loff_t isize; 706 loff_t isize;
707 707
708 bu = kmalloc(sizeof(struct bu_info), GFP_NOFS); 708 bu = kmalloc(sizeof(struct bu_info), GFP_NOFS | __GFP_NOWARN);
709 if (!bu) 709 if (!bu)
710 return 0; 710 return 0;
711 711
712 bu->buf_len = c->bulk_read_buf_size; 712 bu->buf_len = c->bulk_read_buf_size;
713 bu->buf = kmalloc(bu->buf_len, GFP_NOFS); 713 bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN);
714 if (!bu->buf) 714 if (!bu->buf)
715 goto out_free; 715 goto out_free;
716 716