go-ceph/rbd
John Mulligan 1abd1423c1 rbd: prevent a go vet error by doing type-casting in C
The void * is (ab)used in C for passing arbitrary data to the callback,
which in our case is a integer index. However, Go tools can not tell
this is OK and throws an error running go vet. Change the wrapper
function to take a uintptr_t and cast that to void* only in the
(unchecked) C layer.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-12 09:02:53 +01:00
..
callback_shims.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
diff_iterate.go rbd: prevent a go vet error by doing type-casting in C 2020-03-12 09:02:53 +01:00
diff_iterate_test.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
doc.go rbd: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
features.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_mimic.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_mimic_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_test.go rbd/features: add test for FeatureSet 2020-02-24 16:28:03 -05:00
options.go rbd: rename error handling helper func to make it private 2020-02-11 10:01:25 +01:00
options_test.go rbd/options: move tests to "rbd" package 2020-01-22 10:15:28 +01:00
rbd.go errutil: move errutil pkg into internal subdir 2020-03-10 08:41:44 +01:00
rbd_mimic.go rbd: replace deprecated rbd_list() with rbd_list2() 2020-02-12 13:48:21 -05:00
rbd_nautilus.go rbd: replace deprecated rbd_list() with rbd_list2() 2020-02-12 13:48:21 -05:00
rbd_test.go rbd: move snapshot test funcs to a new file 2020-03-10 07:47:59 +01:00
snapshot.go rbd: add well-formed doc comments to the rbd snapshot functions. 2020-03-10 07:47:59 +01:00
snapshot_mimic.go rbd: replace deprecated rbd_list_children() with rbd_list_children3() 2020-02-12 13:48:21 -05:00
snapshot_nautilus.go rbd: replace deprecated rbd_list_children() with rbd_list_children3() 2020-02-12 13:48:21 -05:00
snapshot_test.go rbd: move snapshot test funcs to a new file 2020-03-10 07:47:59 +01:00
watchers_mimic.go rbd: add minimal support for listing watchers on an RBD image 2020-02-26 13:04:25 -05:00
watchers_mimic_test.go rbd: add minimal support for listing watchers on an RBD image 2020-02-26 13:04:25 -05:00