aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid6main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid6main.c')
-rw-r--r--drivers/md/raid6main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c
index 495dee1d1e83..09cb7272c09f 100644
--- a/drivers/md/raid6main.c
+++ b/drivers/md/raid6main.c
@@ -1570,6 +1570,11 @@ static int make_request (request_queue_t *q, struct bio * bi)
1570 sector_t logical_sector, last_sector; 1570 sector_t logical_sector, last_sector;
1571 struct stripe_head *sh; 1571 struct stripe_head *sh;
1572 1572
1573 if (unlikely(bio_barrier(bi))) {
1574 bio_endio(bi, bi->bi_size, -EOPNOTSUPP);
1575 return 0;
1576 }
1577
1573 md_write_start(mddev, bi); 1578 md_write_start(mddev, bi);
1574 1579
1575 if (bio_data_dir(bi)==WRITE) { 1580 if (bio_data_dir(bi)==WRITE) {