xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8a9b6dbd4468f6312f1d07226a623879f970bd4b
parent 6f2327580fe9a5f5b093814126fe7ffc02345407
Author: Frans Kaashoek <kaashoek@26-4-190.dynamic.csail.mit.edu>
Date:   Thu, 25 Aug 2011 14:39:09 -0400

Make cross reference with text work

Diffstat:
Mide.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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;