mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
6af769a16f
We were using the internal CEPH_NOSNAP and CEPH_SNAPDIR constants, and defining a clone_info_t::HEAD (with a different value). The docs were referrring to the internal constant names. Instead, define librados constants (C and C++) with the same values as the internal types. Note that this changes the clone_info_t::HEAD value from -1 to -2 so that it now matches the internal type. Signed-off-by: Sage Weil <sage@inktank.com>
4 lines
238 B
Plaintext
4 lines
238 B
Plaintext
|
|
* The librados::clone_info_t::HEAD constant has been replaced with librados::SNAP_HEAD, with
|
|
a different value that matches the internal constants. This only affects the brand-new
|
|
list_snaps() interface that was introduced in v0.59. |