From 2868ca0f37232ba67b3244c6563d4b4c3c65b941 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Aug 2007 03:32:49 +0000 Subject: [PATCH] comment non-check of cp->killed --- ide.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ide.c b/ide.c index aa8fe29..f7681d2 100644 --- a/ide.c +++ b/ide.c @@ -144,6 +144,7 @@ ide_rw(struct buf *b) ide_start_request(b); // Wait for request to finish. + // Assuming will not sleep too long: ignore cp->killed. while((b->flags & (B_VALID|B_DIRTY)) != B_VALID) sleep(b, &ide_lock);