]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r305123: Fix kernel panic when inheriting properties without default.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Sep 2016 09:13:17 +0000 (09:13 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 14 Sep 2016 09:13:17 +0000 (09:13 +0000)
commit0d0c5453f820cb3a581b05ab1db69e70a2055a78
tree48615191547be62699103fed2d03ac69c57bc143
parenta1e9609758f8e9b332da405af4f194d5516a9a43
MFC r305123: Fix kernel panic when inheriting properties without default.

There are two writable hidden properties "iscsioptions" and "stmf_sbd_lu",
that have no default string value.  Attempt to unset them or replicate
caused kernel panic.  This simple bandaid seems fixes the problem nicely.

git-svn-id: svn://svn.freebsd.org/base/stable/10@305800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_prop.c