Skip to content
Commit 48fd4f93 authored by Jens Axboe's avatar Jens Axboe
Browse files

block: submit_bh() inadvertently discards barrier flag on a sync write

Reported by Milan Broz <mbroz@redhat.com>, commit 18ce3751

 inadvertently
made submit_bh() discard the barrier bit for a WRITE_SYNC request. Fix
that up.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent a4a77897
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment