mirror of
https://github.com/ceph/go-ceph
synced 2025-01-24 15:13:34 +00:00
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:
parent
ba93f46cb4
commit
8235827b5a
12
rbd/options_nautilus.go
Normal file
12
rbd/options_nautilus.go
Normal 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
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user