summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 03:32:49 +0000
committerrsc <rsc>2007-08-28 03:32:49 +0000
commit2868ca0f37232ba67b3244c6563d4b4c3c65b941 (patch)
treead38f1cb08108d166e6c289921bd1d016dba1ade /ide.c
parent8970df0c1bc3b69829d2ce9cc09550c7fcd48f70 (diff)
downloadxv6-labs-2868ca0f37232ba67b3244c6563d4b4c3c65b941.tar.gz
xv6-labs-2868ca0f37232ba67b3244c6563d4b4c3c65b941.tar.bz2
xv6-labs-2868ca0f37232ba67b3244c6563d4b4c3c65b941.zip
comment non-check of cp->killed
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c1
1 files changed, 1 insertions, 0 deletions
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);