Only linearizeblock on #M qremoves
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Jul 2014 03:39:50 +0000 (20:39 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Jul 2014 03:39:50 +0000 (20:39 -0700)
commit280477a3e7e45ea66235c08a37a6ffc80238c10e
tree9e62eef13be6684327ded411465386b99dbd13b5
parentd29164bfbf20c25549095d45a35e165a2bb997b9
Only linearizeblock on #M qremoves

So we don't linearize blocks any time someone calls qremove.  The other
callers of qremove look okay.  It's up to the callers to know what to do
with the blocks.  For instance, bl2mem() knows how to deal with
extra_data.

Also, the other mount block op right above the change is now safer,
since pullupqueue() makes sure the full header is in place.
kern/drivers/dev/mnt.c
kern/src/ns/qio.c