diff options
author | Tomohiro Kusumi <[email protected]> | 2019-05-29 07:31:39 +0900 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-05-28 15:31:38 -0700 |
commit | 5691b86ce5e28fc551786bc97567c161ffc6c347 (patch) | |
tree | 7cc5df6a6418ad3341613da397f8b980c55a2298 /cmd/zfs | |
parent | ab1a9705f8021fbbb816d6042b8b8f40f1bb3aaf (diff) |
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 ba6a24026c.
Reviewed by: Brian Behlendorf <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Signed-off-by: Tomohiro Kusumi <[email protected]>
Closes #8815
Diffstat (limited to 'cmd/zfs')
0 files changed, 0 insertions, 0 deletions