aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 04562add1920..aa72c88a024f 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -332,7 +332,7 @@ static int bi_complete(struct bio *bio, unsigned int bytes_done, int error)
332static int sync_page_io(struct block_device *bdev, sector_t sector, int size, 332static int sync_page_io(struct block_device *bdev, sector_t sector, int size,
333 struct page *page, int rw) 333 struct page *page, int rw)
334{ 334{
335 struct bio *bio = bio_alloc(GFP_KERNEL, 1); 335 struct bio *bio = bio_alloc(GFP_NOIO, 1);
336 struct completion event; 336 struct completion event;
337 int ret; 337 int ret;
338 338