Pass the buf to block_append_extra()
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Mar 2016 19:34:08 +0000 (15:34 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
commit50325593752986471093b7e453d8aa95143f838f
treebeb35006a8316b07e7e4a6f988db4b9aacaaac7e
parentaaaa2bd697d85b960e1fb46091e046b4c38faa7c
Pass the buf to block_append_extra()

Instead of assuming that they want us to allocate the block, we just take
any old buffer of kmalloc'd memory.

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