rbd: add RBD_IMAGE_OPTION_MIRROR_IMAGE_MODE for Octopus

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-06-08 10:23:06 +02:00 committed by John Mulligan
parent 8235827b5a
commit 6c5364f422
1 changed files with 12 additions and 0 deletions

12
rbd/options_octopus.go Normal file
View File

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