commit | 621901d652db10ad8ceddd25dd4b883978a873e1 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Aug 23 23:22:06 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:50 2012 -0500 |
tree | 1f4c2d225847287536e65fe72cffb136cbe128c3 | |
parent | f785cc1dbe90b561b8ded92df4fe9732bdc54859 [diff] |
rbd: more cleanup in rbd_header_from_disk() This just rearranges things a bit more in rbd_header_from_disk() so that the snapshot sizes are initialized right after the buffer to hold them is allocated and doing a little further consolidation that follows from that. Also adds a few simple comments. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>