]> git.proxmox.com Git - mirror_zfs.git/commit - lib/libzfs/libzfs_sendrecv.c
OpenZFS 6111 - zfs send should ignore datasets created after the ending snapshot
authorkernelOfTruth aka. kOT, Gentoo user <kerneloftruth@gmail.com>
Fri, 23 Sep 2016 00:22:37 +0000 (02:22 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 23 Sep 2016 00:22:37 +0000 (17:22 -0700)
commit6635624020506a76cb79c65c7ff5a580c4685a0b
treef3065989b7a581da0ad7d51b2b551a8825e20818
parent51907a31bc20a6697ec9a92a58c163a0c0df5de7
OpenZFS 6111 - zfs send should ignore datasets created after the ending snapshot

Authored by: Alex Deiter <alex.deiter@gmail.com>
Reviewed by: Alex Aizman alex.aizman@nexenta.com
Reviewed by: Alek Pinchuk alek.pinchuk@nexenta.com
Reviewed by: Roman Strashkin roman.strashkin@nexenta.com
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Approved by: Garrett D'Amore <garrett@damore.org>
Ported-by: kernelOfTruth <kerneloftruth@gmail.com>
OpenZFS-issue: https://www.illumos.org/issues/6111
OpenZFS-commit: https://github.com/illumos/illumos-gate/commit/4a20c933
Closes #5110

Porting notes:

There were changes from upstream due to the following commits:
- zfs send -p send properties only for snapshots that are actually sent
  https://github.com/zfsonlinux/zfs/commit/057485504e3a4502c265813ab58e9ec8ffc2a3be
- Produce a full snapshot list for zfs send -p
  https://github.com/zfsonlinux/zfs/commit/e890dd85a7522730ad46daf68150aafd3952d0c1
- Implement zfs_ioc_recv_new() for OpenZFS 2605
  https://github.com/zfsonlinux/zfs/commit/43e52eddb13d8accbd052fac9a242ce979531aa4
- OpenZFS 6314 - buffer overflow in dsl_dataset_name
  ZFS_MAXNAMELEN was changed to the now used ZFS_MAX_DATASET_NAME_LEN since
  https://github.com/zfsonlinux/zfs/commit/eca7b76001a7d33f78bd98884aef8325bdbf98e7
lib/libzfs/libzfs_sendrecv.c