X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=block%2Fblk-exec.c;h=e7062139612914b95917405fc3da52e4498f066d;hb=ef99f3aee9641d10a7c80d4803d2f0f004c797ca;hp=c88202f973d944f7e9c847b13d48c8ce24c87230;hpb=06991c28f37ad68e5c03777f5c3b679b56e3dac1;p=firefly-linux-kernel-4.4.55.git diff --git a/block/blk-exec.c b/block/blk-exec.c index c88202f973d9..e70621396129 100644 --- a/block/blk-exec.c +++ b/block/blk-exec.c @@ -121,9 +121,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;