go-ceph/rbd/features_nautilus.go
Sven Anderson 87f4563118 format: run gofmt on all files
Signed-off-by: Sven Anderson <sven@redhat.com>
2021-10-04 18:58:35 +00:00

22 lines
480 B
Go

//go:build !luminous && !mimic
// +build !luminous,!mimic
package rbd
// #include <rbd/librbd.h>
import "C"
const (
// FeatureMigrating is the representation of RBD_FEATURE_MIGRATING from
// librbd
FeatureMigrating = uint64(C.RBD_FEATURE_MIGRATING)
// FeatureNameMigrating is the representation of
// RBD_FEATURE_NAME_MIGRATING from librbd
FeatureNameMigrating = C.RBD_FEATURE_NAME_MIGRATING
)
func init() {
featureNameToBit[FeatureNameMigrating] = FeatureMigrating
}