X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fblk-flush.c;h=db8f1b5078570fe98afb8dd748636060511ba683;hb=26466410adb2cd0f9db1d6decec198c147c80fcc;hp=720ad607ff91c31de69a888001399132f5eaad01;hpb=d65616a92c9fab8fc3caa120d18b7be7b6285914;p=karo-tx-linux.git diff --git a/block/blk-flush.c b/block/blk-flush.c index 720ad607ff91..db8f1b507857 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c @@ -436,7 +436,7 @@ int blkdev_issue_flush(struct block_device *bdev, gfp_t gfp_mask, bio_get(bio); submit_bio(WRITE_FLUSH, bio); - wait_for_completion(&wait); + wait_for_completion_io(&wait); /* * The driver must store the error location in ->bi_sector, if