Fix stack dmu_objset_snapshot()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 17:52:23 +0000 (10:52 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:47 +0000 (08:38 -0700)
commita8ac8e715e50e56b5e907007ef70f39301a4d984
tree74e498567d99840f6f67cc3bac8cbf0978715e5b
parentfc5bb51f08a6c91ff9ad3559d0266eeeab0b1f61
Fix stack dmu_objset_snapshot()

Reduce stack usage by 276 bytes by moving the snaparg struct from the
stack to the heap.  We have limited stack space we must not waste.

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