freebsd-dev/cddl/contrib/opensolaris/lib
Pawel Jakub Dawidek c622f88dd2 It is possible to recursively destroy snapshots even if the snapshot
doesn't exist on a dataset we are starting from. For example if we
have the following configuration:

	tank
	tank/foo
	tank/foo@snap
	tank/bar
	tank/bar@snap

We can execute:

	# zfs destroy -t tank@snap

eventhough tank@snap doesn't exit.

Unfortunately it is not possible to do the same with recursive rename:

	# zfs rename -r tank@snap tank@pans
	cannot open 'tank@snap': dataset does not exist

...until now. This change allows to recursively rename snapshots even if
snapshot doesn't exist on the starting dataset.

Sponsored by:	rsync.net
MFC after:	2 weeks
2012-09-23 20:12:10 +00:00
..
libctf/common Make this compile cleanly. 2008-04-26 04:22:32 +00:00
libdtrace When we return with an error we cannot unlock the mutex, because 2012-08-01 19:27:12 +00:00
libgen/common MFV OpenSolaris DTrace userland bits. 2010-08-02 13:40:53 +00:00
libnvpair Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
libuutil/common Merge recent zfs vendor changes, sync code and adjust userland DEBUG. 2012-09-12 18:05:43 +00:00
libzfs/common It is possible to recursively destroy snapshots even if the snapshot 2012-09-23 20:12:10 +00:00
libzpool/common Merge recent zfs vendor changes, sync code and adjust userland DEBUG. 2012-09-12 18:05:43 +00:00
pyzfs/common Finally... Import the latest open-source ZFS version - (SPA) 28. 2011-02-27 19:41:40 +00:00