Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk-flush: fix invalid BUG_ON in blk_insert_flush
A user reported a regression due to commit 4853aba (block: fix flush machinery for stacking drivers with differring flush flags). Part of the problem is that blk_insert_flush required a single bio be attached to the request. In reality, having no attached bio is also a valid case, as can be observed with an empty flush. [1] http://www.redhat.com/archives/dm-devel/2011-September/msg00154.html Reported-by: Christophe Saout <[email protected]> Signed-off-by: Jeff Moyer <[email protected] Acked-by: Tejun Heo <[email protected]> Stable note: 3.1 Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information