From 8a9b6dbd4468f6312f1d07226a623879f970bd4b Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 25 Aug 2011 14:39:09 -0400 Subject: [PATCH] Make cross reference with text work --- ide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ide.c b/ide.c index 054bb76..4165831 100644 --- a/ide.c +++ b/ide.c @@ -134,11 +134,11 @@ iderw(struct buf *b) if(b->dev != 0 && !havedisk1) panic("iderw: ide disk 1 not present"); - acquire(&idelock); + acquire(&idelock); // DOC:acquire-lock // Append b to idequeue. b->qnext = 0; - for(pp=&idequeue; *pp; pp=&(*pp)->qnext) + for(pp=&idequeue; *pp; pp=&(*pp)->qnext) // DOC:insert-queue ; *pp = b;