ahrens commented on this pull request.


>       int error;
 
+       (void) nvlist_lookup_string(innvl, "target", &target);
+       if (target != NULL) {
+               int fslen = strlen(fsname);
+
+               if (strncmp(fsname, target, fslen) != 0)
+                       return (SET_ERROR(EINVAL));

What if we want to rollback a clone to its origin?  I think that would work if 
we simply remove this check.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/311#pullrequestreview-49828733
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T574326b78696dbfb-M8a61844bcf69ee27bbec41ea
Powered by Topicbox: https://topicbox.com

Reply via email to