X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fblk-timeout.c;h=b1182ea52427e62fdfe8d2b29a7c04998e66b454;hb=f69350b23246c539a012f58b5f8242cb18a4a813;hp=780354888958cd7ea03aef2c1654b325bc9fb24e;hpb=0c3bef612881ee6216a36952ffaabfc35b83545c;p=pandora-kernel.git diff --git a/block/blk-timeout.c b/block/blk-timeout.c index 780354888958..b1182ea52427 100644 --- a/block/blk-timeout.c +++ b/block/blk-timeout.c @@ -90,8 +90,8 @@ static void blk_rq_timed_out(struct request *req) __blk_complete_request(req); break; case BLK_EH_RESET_TIMER: - blk_clear_rq_complete(req); blk_add_timer(req); + blk_clear_rq_complete(req); break; case BLK_EH_NOT_HANDLED: /* @@ -173,7 +173,6 @@ void blk_add_timer(struct request *req) return; BUG_ON(!list_empty(&req->timeout_list)); - BUG_ON(test_bit(REQ_ATOM_COMPLETE, &req->atomic_flags)); /* * Some LLDs, like scsi, peek at the timeout to prevent a