diff options
-rw-r--r-- | block/blk-barrier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-barrier.c b/block/blk-barrier.c index 273121c0eb80..e5448131d4f1 100644 --- a/block/blk-barrier.c +++ b/block/blk-barrier.c | |||
@@ -293,7 +293,7 @@ int blkdev_issue_flush(struct block_device *bdev, sector_t *error_sector) | |||
293 | bio->bi_end_io = bio_end_empty_barrier; | 293 | bio->bi_end_io = bio_end_empty_barrier; |
294 | bio->bi_private = &wait; | 294 | bio->bi_private = &wait; |
295 | bio->bi_bdev = bdev; | 295 | bio->bi_bdev = bdev; |
296 | submit_bio(1 << BIO_RW_BARRIER, bio); | 296 | submit_bio(WRITE_BARRIER, bio); |
297 | 297 | ||
298 | wait_for_completion(&wait); | 298 | wait_for_completion(&wait); |
299 | 299 | ||