rbd: add RBD_IMAGE_OPTION_CLONE_FORMAT for Nautilus

Fixes: #295
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-06-08 10:22:16 +02:00 committed by John Mulligan
parent ba93f46cb4
commit 8235827b5a

12
rbd/options_nautilus.go Normal file
View File

@ -0,0 +1,12 @@
// +build !luminous,!mimic
package rbd
// #include <rbd/librbd.h>
import "C"
const (
// ImageOptionCloneFormat is the representation of
// RBD_IMAGE_OPTION_CLONE_FORMAT from librbd
ImageOptionCloneFormat = C.RBD_IMAGE_OPTION_CLONE_FORMAT
)