diff options
Diffstat (limited to 'drivers/md/multipath.c')
| -rw-r--r-- | drivers/md/multipath.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 2d2ca7fa0265..286342375fb7 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
| @@ -169,6 +169,11 @@ static int multipath_make_request (request_queue_t *q, struct bio * bio) | |||
| 169 | struct multipath_bh * mp_bh; | 169 | struct multipath_bh * mp_bh; |
| 170 | struct multipath_info *multipath; | 170 | struct multipath_info *multipath; |
| 171 | 171 | ||
| 172 | if (unlikely(bio_barrier(bio))) { | ||
| 173 | bio_endio(bio, bio->bi_size, -EOPNOTSUPP); | ||
| 174 | return 0; | ||
| 175 | } | ||
| 176 | |||
| 172 | mp_bh = mempool_alloc(conf->pool, GFP_NOIO); | 177 | mp_bh = mempool_alloc(conf->pool, GFP_NOIO); |
| 173 | 178 | ||
| 174 | mp_bh->master_bio = bio; | 179 | mp_bh->master_bio = bio; |
