Remove assertion that prevents zfs rename of datasets with mountpoint=none

or mountpoint=legacy that have children datasets. This also fixes dataset
rename when receiving incremental snapshots as reported on freebsd-fs@

This assertion was made triggerable by opensolaris change #10196.

PR:		bin/160400
Reviewed by:	pjd
MFC after:	1 week
This commit is contained in:
Martin Matuska 2011-09-28 11:57:10 +00:00
parent a06534c3c2
commit 91109eb1c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225828

View File

@ -467,7 +467,6 @@ change_one(zfs_handle_t *zhp, void *data)
* This is necessary when the original mountpoint
* is legacy or none.
*/
ASSERT(!clp->cl_alldependents);
verify(uu_list_insert_before(clp->cl_list,
uu_list_first(clp->cl_list), cn) == 0);
}