diff --git a/rbd/rbd.go b/rbd/rbd.go index a775ea6..0f6a91f 100644 --- a/rbd/rbd.go +++ b/rbd/rbd.go @@ -360,10 +360,6 @@ func Create4(ioctx *rados.IOContext, name string, size uint64, rio *RbdImageOpti // int rbd_clone(rados_ioctx_t p_ioctx, const char *p_name, // const char *p_snapname, rados_ioctx_t c_ioctx, // const char *c_name, uint64_t features, int *c_order); -// int rbd_clone2(rados_ioctx_t p_ioctx, const char *p_name, -// const char *p_snapname, rados_ioctx_t c_ioctx, -// const char *c_name, uint64_t features, int *c_order, -// uint64_t stripe_unit, int stripe_count); func (image *Image) Clone(snapname string, c_ioctx *rados.IOContext, c_name string, features uint64, order int) (*Image, error) { if err := image.validate(imageNeedsIOContext); err != nil { return nil, err