diff options
author | 2020-07-31 18:46:45 -0400 | |
---|---|---|
committer | 2020-08-04 16:01:40 -0400 | |
commit | 4cb6f22612511ff2aba4c33fb0f281cae7c23772 (patch) | |
tree | f0028fb6cba99d27f6ba22212cb9abd01b68c5f1 /scripts/gen_compile_commands.py | |
parent | dm init: Set file local variable static (diff) | |
download | linux-dev-4cb6f22612511ff2aba4c33fb0f281cae7c23772.tar.xz linux-dev-4cb6f22612511ff2aba4c33fb0f281cae7c23772.zip |
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: John Dorminy <jdorminy@redhat.com>
Acked-by: Heinz Mauelshagen <heinzm@redhat.com>
Fixes: d3c7b35c20d60 ("dm: add emulated block size target")
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions