diff --git a/block/genhd.c b/block/genhd.c index d684dce1e3b2d896481d13b3926a06e56458c67e..cee247f2c4b23a2fcae92316838077872105f5c1 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -102,6 +102,7 @@ static void blk_in_hang_rw(struct request_queue *q, struct hd_struct *part, struct request *rq, *tmp; now = ktime_get_ns(); + hang[0] = hang[1] = 0; spin_lock_irqsave(q->queue_lock, flags); list_for_each_entry_safe(rq, tmp, &q->timeout_list, timeout_list) {