zfs/lib/libzfs
LOLi 2f62fdd644 Fix 'zfs receive -o' when used with '-e|-d'
When used in conjunction with one of '-e' or '-d' zfs receive options
none of the properties requested to be set (-o) are actually applied:
this is caused by a wrong assumption made about the toplevel dataset
in zfs_receive_one().

Fix this by correctly detecting the toplevel dataset.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7088

Requires-spl: refs/pull/679/head
2018-01-30 10:27:32 -06:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Add -c to zpool iostat & status to run command 2016-11-29 14:45:38 -07:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
libzfs_config.c OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a" 2017-02-03 13:24:44 -08:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_dataset.c Update for cppcheck v1.80 2018-01-30 10:27:31 -06:00
libzfs_diff.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
libzfs_fru.c OpenZFS 8046 - Let calloc() do the multiplication in libzfs_fru_refresh 2017-04-09 16:07:42 -07:00
libzfs_import.c Update for cppcheck v1.80 2018-01-30 10:27:31 -06:00
libzfs_iter.c Fix intra-pool resumable 'zfs send -t <token>' 2017-10-16 10:57:55 -07:00
libzfs_mount.c Disable mount(8) canonical paths in do_mount() 2017-08-21 16:46:55 -07:00
libzfs_pool.c Fix column alignment with long zpool names 2017-12-04 17:21:38 -08:00
libzfs_sendrecv.c Fix 'zfs receive -o' when used with '-e|-d' 2018-01-30 10:27:32 -06:00
libzfs_status.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
libzfs_util.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00