Files
mirror_zfs/module/zfs
LOLi 5f1346c299 Fix dsl_props_set_sync_impl to work with nested nvlist
When iterating over the input nvlist in dsl_props_set_sync_impl() when we don't
preserve the nvpair name before looking up ZPROP_VALUE, so when we later go to
process it nvpair_name() is always "value" and not the actual property name.

This fixes a couple of bugs in zfs_ioc_recv():
* Received properties were not restored correctly when failing to receive an
incremental send stream
* Received properties were not completely replaced by the new ones when
successfully receiving an incremental send stream

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #5497
2016-12-20 18:46:59 -08:00
..
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2015-01-16 14:41:26 -08:00
2016-01-08 15:08:19 -08:00
2016-12-13 14:21:02 -08:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2016-12-12 10:46:26 -08:00
2016-06-28 13:47:02 -07:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2015-01-16 14:41:26 -08:00
2015-12-22 10:21:33 -08:00
2016-04-21 09:49:25 -07:00
2016-06-21 09:58:37 -07:00
2016-12-01 16:39:06 -07:00
2010-08-31 13:41:58 -07:00
2016-08-11 11:23:49 -07:00
2016-12-02 16:57:49 -07:00
2016-12-12 10:46:26 -08:00
2016-11-30 16:18:20 -07:00
2016-12-02 16:57:49 -07:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2013-10-31 14:58:04 -07:00
2016-11-30 16:18:20 -07:00
2010-08-31 13:41:58 -07:00
2016-09-21 18:09:00 -07:00
2016-09-21 18:09:00 -07:00
2016-11-30 16:18:20 -07:00
2016-12-16 13:54:51 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2016-12-16 12:46:46 -08:00
2016-05-31 16:04:26 -07:00