diff options
author | Frans Kaashoek <[email protected]> | 2011-08-25 14:39:09 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2011-08-25 14:39:09 -0400 |
commit | 8a9b6dbd4468f6312f1d07226a623879f970bd4b (patch) | |
tree | 24932f251443e6b1c283dfe949506d852b631cdb | |
parent | 6f2327580fe9a5f5b093814126fe7ffc02345407 (diff) | |
download | xv6-labs-8a9b6dbd4468f6312f1d07226a623879f970bd4b.tar.gz xv6-labs-8a9b6dbd4468f6312f1d07226a623879f970bd4b.tar.bz2 xv6-labs-8a9b6dbd4468f6312f1d07226a623879f970bd4b.zip |
Make cross reference with text work
-rw-r--r-- | ide.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |