Please sign in to comment.
Refactor parent dataset handling in libzfs zfs_rename()
For recursive renaming, simplify the code by moving `zhrp` and `parentname` to inner scope. `zhrp` is only used to test existence of a parent dataset for recursive dataset dir scan since ba6a240. Reviewed by: Brian Behlendorf <email@example.com> Reviewed-by: Richard Laager <firstname.lastname@example.org> Reviewed-by: Giuseppe Di Natale <email@example.com> Signed-off-by: Tomohiro Kusumi <firstname.lastname@example.org> Closes #8815
- Loading branch information...