Stop calling qremove() outside qio.c
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Mar 2016 16:45:38 +0000 (12:45 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
commitd362c2bc2548ec96eb050438e5dc0f217cb1102f
tree4aa4ced5fda58894e4e300d466395c1033d992fc
parent2c682eb62674462135880581994290470bab62c1
Stop calling qremove() outside qio.c

That function was meant to be called with the queue locked.  #mnt doesn't
lock it - nor does it or any other file have a mechanism to do so.  So it's
always a bad idea to call qremove.  It looks like #mnt wants qget().

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/mnt.c
kern/include/ns.h
kern/src/ns/qio.c