]> granicus.if.org Git - zfs/commit
Illumos 5946, 5945
authorAndriy Gapon <avg@freebsd.org>
Thu, 2 Jul 2015 13:04:35 +0000 (16:04 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 6 Jul 2015 16:31:30 +0000 (09:31 -0700)
commit71e2fe41be982076f14fe5d39bcf5f7051a937f0
tree2fe4bea37b0c19ea436dfee19838e75dc822215d
parentb6640117f07c50f5fc3093c6b50de988cf332e72
Illumos 5946, 5945

5946 zfs_ioc_space_snaps must check that firstsnap and lastsnap refer to snapshots
5945 zfs_ioc_send_space must ensure that fromsnap refers to a snapshot
Reviewed by: Steven Hartland <killing@multiplay.co.uk>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Gordon Ross <gordon.ross@nexenta.com>

References:
  https://www.illumos.org/issues/5946
  https://www.illumos.org/issues/5945
  https://github.com/illumos/illumos-gate/commit/24218be

Ported-by: Andriy Gapon <avg@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3552
module/zfs/dmu_send.c
module/zfs/zfs_ioctl.c