mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: update go-ceph to v0.8.0
Updating go-ceph to v0.8.0. Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
e6098520d1
commit
32d78c4f7f
6
vendor/github.com/ceph/go-ceph/rbd/rbd.go
generated
vendored
6
vendor/github.com/ceph/go-ceph/rbd/rbd.go
generated
vendored
@ -95,7 +95,11 @@ type TrashInfo struct {
|
||||
|
||||
// cephIoctx returns a ceph rados_ioctx_t given a go-ceph rados IOContext.
|
||||
func cephIoctx(radosIoctx *rados.IOContext) C.rados_ioctx_t {
|
||||
return C.rados_ioctx_t(radosIoctx.Pointer())
|
||||
p := radosIoctx.Pointer()
|
||||
if p == nil {
|
||||
panic("invalid IOContext pointer")
|
||||
}
|
||||
return C.rados_ioctx_t(p)
|
||||
}
|
||||
|
||||
// test if a bit is set in the given value
|
||||
|
Reference in New Issue
Block a user