diff options
Diffstat (limited to 'drivers/md/dm.c')
| -rw-r--r-- | drivers/md/dm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 6ef9500226c0..37ccd73c79ec 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1657,7 +1657,7 @@ static struct mapped_device *alloc_dev(int minor)  	bio_init(&md->flush_bio, NULL, 0);  	md->flush_bio.bi_bdev = md->bdev; -	md->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; +	md->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC;  	dm_stats_init(&md->stats);  |