Skip to content
Snippets Groups Projects
Commit 8a9b6dbd authored by Frans Kaashoek's avatar Frans Kaashoek
Browse files

Make cross reference with text work

parent 6f232758
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment