commit | c9aadfe7860f83ee17e55fe17398f3fe948a0a84 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Aug 30 14:42:15 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Mon Oct 01 14:30:51 2012 -0500 |
tree | 37bf444e7bb006a7643050c6b33000797a76bae0 | |
parent | 98cec111c08d8d52168e28648b4a1c2f5011cd70 [diff] |
rbd: kill rbd_image_header->total_snaps The "total_snaps" field in an rbd header structure is never any different from the value of "num_snaps" stored within a snapshot context. Avoid any confusion by just using the value held within the snapshot context, and get rid of the "total_snaps" field. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>