commit | eb3b2d6be4b5e1612827b986cca241c5d104fc41 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed Aug 22 17:11:27 2018 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Sep 06 16:18:04 2018 +0200 |
tree | e985c02f386a623bc61eda250778055ef4604a9d | |
parent | 8aaff15168cfbc7c8980fdb0e8a585f1afe56ec0 [diff] |
rbd: factor out get_parent_info() In preparation for the new parent_get and parent_overlap_get class methods, factor out the fetching and decoding of parent data. As a side effect, we now decode all four fields in the "no parent" case. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>