Fix usage of zsb after free
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Sep 2011 17:24:55 +0000 (10:24 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Sep 2011 17:29:48 +0000 (10:29 -0700)
commit2708f716c0f009bad754b8b94063526fab2048e9
tree0cf32fbdacbbe7ba3fc2232cc774e72184369898
parent185853d9f202b306d9c316b66b774c498ed6577c
Fix usage of zsb after free

Caught by code inspection, the variable zsb was referenced after
being freed.  Move the kmem_free() to the end of the function.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/zfs_znode.c