mirror of
https://github.com/ceph/go-ceph
synced 2024-12-14 10:25:45 +00:00
0ffebd1f25
RBD_IMAGE_OPTION_CLONE_FORMAT was added in Ceph Mimic but fix for issue #295 added it only for Ceph Nautilus, moving it to rbd/options_mimic.go Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
17 lines
378 B
Go
17 lines
378 B
Go
// +build !luminous
|
|
|
|
package rbd
|
|
|
|
// #include <rbd/librbd.h>
|
|
import "C"
|
|
|
|
const (
|
|
// ImageOptionFlatten is the representation of RBD_IMAGE_OPTION_FLATTEN
|
|
// from librbd
|
|
ImageOptionFlatten = C.RBD_IMAGE_OPTION_FLATTEN
|
|
|
|
// ImageOptionCloneFormat is the representation of
|
|
// RBD_IMAGE_OPTION_CLONE_FORMAT from librbd
|
|
ImageOptionCloneFormat = C.RBD_IMAGE_OPTION_CLONE_FORMAT
|
|
)
|