andy-js commented on this pull request.


> @@ -3628,8 +3629,6 @@ int
 zfs_promote(zfs_handle_t *zhp)
 {
        libzfs_handle_t *hdl = zhp->zfs_hdl;
-       zfs_cmd_t zc = { 0 };
-       char parent[MAXPATHLEN];

I think it's just left over code.  I can't think why else you'd do that string 
copy.

-- 
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/385#discussion_r118293621
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Tb321381674e0be00-M06582a17890025d0debae3d2
Powered by Topicbox: https://topicbox.com

Reply via email to