Fix stack vn_open()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 18:03:04 +0000 (11:03 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:49 +0000 (08:38 -0700)
commit5ae4e2c2c660269d87dd5bbac6f590f69d0c7d8c
tree1e907d08953069867e246c27aef8b9854edcf7e6
parent5fed499defe68b57fab349ac945a84416fb024ba
Fix stack vn_open()

We should not put a 4k maxpathlen buffer on the stack, instead
locate it to the heap.  Even in user space we run ztest with 8K
stacks to verify correctness

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
lib/libzpool/kernel.c