OS-926: zfs panic in zfs_fill_zplprops_impl()
authorMartin Matuska <mm@FreeBSD.org>
Sun, 8 Apr 2012 17:18:48 +0000 (13:18 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 Apr 2012 18:29:19 +0000 (11:29 -0700)
commitb129c6590e07edcc95f3b64ec210d94cf885c192
treea3e85471fa120eb07d90c2fdf23aada2f38266c0
parent3adfc400f5f6c8b24b825cbe91c14b7d58f3c7fc
OS-926: zfs panic in zfs_fill_zplprops_impl()

This change appears to be exclusive to SmartOS. It is not present in
illumos-gate but it just adds some needed error handling.  This is
clearly preferable to simply ASSERTING which is what would occur
prior to the patch.

Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Matt Ahrens <matt@delphix.com>
Ported-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #652
module/zfs/zfs_ioctl.c