]> git.baikalelectronics.ru Git - kernel.git/commit
target: iblock_execute_sync_cache() should use bio_set_op_attrs()
authorJens Axboe <axboe@fb.com>
Mon, 1 Aug 2016 15:39:23 +0000 (09:39 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 7 Aug 2016 20:41:02 +0000 (14:41 -0600)
commit51050e335708b191f05d2b4575d2aa6f2e52d144
tree9912bfd411a7bb0a11f6a5b8d2f719d239f246f8
parent7b555c47fda3e078bc4bddf83e36f5b0e8b4e5cf
target: iblock_execute_sync_cache() should use bio_set_op_attrs()

The original commit missed this function, it needs to mark it a
write flush.

Cc: Mike Christie <mchristi@redhat.com>
Fixes: 65b94ecaa0f5 ("target: use bio op accessors")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/target/target_core_iblock.c