Change qfull() to check limits
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2016 17:35:23 +0000 (12:35 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2016 22:39:26 +0000 (17:39 -0500)
commitbfb0d81b428f9ca3917846177e70cc12e402c187
treee1004353e1e0a7bea318a177c224b1f18b03ce07
parentef8602bb306e57327f0cce227685372f44aaedc2
Change qfull() to check limits

Instead of checking Qflow flags, we just check the len vs the limit.  This
way, we can use qfull() when we're filling a queue with qiwrite/qibwrite
(which don't bother setting Qflow).

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