X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fblk-flush.c;h=6c9b5e189e624888860e5185d1d9b3479b3e49a4;hb=04908918191f7926ec7af99890fb4ddb3b769c13;hp=eba4a2790c6c4ba2e0467ca58300050e190d6804;hpb=a97b52022a73ec12e43f0b2c7d4bd1f40f89c81d;p=karo-tx-linux.git diff --git a/block/blk-flush.c b/block/blk-flush.c index eba4a2790c6c..6c9b5e189e62 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c @@ -218,7 +218,7 @@ static void flush_end_io(struct request *flush_rq, int error) * request_fn may confuse the driver. Always use kblockd. */ if (queued) - __blk_run_queue(q, true); + blk_run_queue_async(q); } /** @@ -274,7 +274,7 @@ static void flush_data_end_io(struct request *rq, int error) * the comment in flush_end_io(). */ if (blk_flush_complete_seq(rq, REQ_FSEQ_DATA, error)) - __blk_run_queue(q, true); + blk_run_queue_async(q); } /**