diff options
author | avg <avg@FreeBSD.org> | 2015-06-12 10:41:24 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2015-06-12 10:41:24 +0000 |
commit | aced9fcb65cd182c795618e37cb07632f2bde710 (patch) | |
tree | f871be4f5afbe4a0a4d3678d9fe6c5f3424b0c55 /usr.bin/svn/lib | |
parent | 2d008d4579eea1dabbd9175371c3b0c3d9437bf8 (diff) | |
download | FreeBSD-src-aced9fcb65cd182c795618e37cb07632f2bde710.zip FreeBSD-src-aced9fcb65cd182c795618e37cb07632f2bde710.tar.gz |
MFV r284040: check that datasets are snapshots
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>
illumos/illumos-gate@24218bebb460e4015fac2c9f2cec1902eddbcd7b
Note that the upstream commit is modified during MFV: in the upstream
the check is done by inspecting ds_is_snapshot field while in FreeBSD
we call dsl_dataset_is_snapshot().
This is because illumos/illumos-gate@bc9014e6a81272073b9854d9f65dd59e18d18c35
(r277428 in vendor-sys/illumos) is not MFV-ed yet.
MFC after: 10 days
Diffstat (limited to 'usr.bin/svn/lib')
0 files changed, 0 insertions, 0 deletions