avg-I 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));

@ahrens Oh, that's the case that I did not consider. You are absolutely 
correctly. Sorry for the breakage.  Should I open a new issue and PR for this 
bug? Or are you already working on it?

-- 
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#discussion_r127637269
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T574326b78696dbfb-Mc7d5c25f702a96f87cb05136
Powered by Topicbox: https://topicbox.com

Reply via email to