diff options
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r-- | drivers/block/aoe/aoeblk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c index 035cefe4045a..65deffde60ac 100644 --- a/drivers/block/aoe/aoeblk.c +++ b/drivers/block/aoe/aoeblk.c | |||
@@ -173,7 +173,7 @@ aoeblk_make_request(struct request_queue *q, struct bio *bio) | |||
173 | BUG(); | 173 | BUG(); |
174 | bio_endio(bio, -ENXIO); | 174 | bio_endio(bio, -ENXIO); |
175 | return 0; | 175 | return 0; |
176 | } else if (bio_rw_flagged(bio, BIO_RW_BARRIER)) { | 176 | } else if (bio->bi_rw & REQ_HARDBARRIER) { |
177 | bio_endio(bio, -EOPNOTSUPP); | 177 | bio_endio(bio, -EOPNOTSUPP); |
178 | return 0; | 178 | return 0; |
179 | } else if (bio->bi_io_vec == NULL) { | 179 | } else if (bio->bi_io_vec == NULL) { |