X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=block%2Fblk-exec.c;h=f634de772b0c0e511d385850384de1a18d8b2d2a;hb=5577022f4ed8973762450ebe7fe7ebfd953817db;hp=74638ec234c807ccaaed0a77ce0eceb71e2997c7;hpb=686855f5d833178e518d79e7912cdb3268a9fa69;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/block/blk-exec.c b/block/blk-exec.c index 74638ec..f634de7 100644 --- a/block/blk-exec.c +++ b/block/blk-exec.c @@ -120,9 +120,9 @@ int blk_execute_rq(struct request_queue *q, struct gendisk *bd_disk, /* Prevent hang_check timer from firing at us during very long I/O */ hang_check = sysctl_hung_task_timeout_secs; if (hang_check) - while (!wait_for_completion_timeout(&wait, hang_check * (HZ/2))); + while (!wait_for_completion_io_timeout(&wait, hang_check * (HZ/2))); else - wait_for_completion(&wait); + wait_for_completion_io(&wait); if (rq->errors) err = -EIO;