Skip to content
Commit 4cb6f226 authored by John Dorminy's avatar John Dorminy Committed by Mike Snitzer
Browse files

dm ebs: Fix incorrect checking for REQ_OP_FLUSH



REQ_OP_FLUSH was being treated as a flag, but the operation
part of bio->bi_opf must be treated as a whole. Change to
accessing the operation part via bio_op(bio) and checking
for equality.

Signed-off-by: default avatarJohn Dorminy <jdorminy@redhat.com>
Acked-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
Fixes: d3c7b35c ("dm: add emulated block size target")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 90e6bf06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment