summaryrefslogtreecommitdiff
path: root/include/linux/ceph/osd_client.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-01 18:00:15 -0600
committerSage Weil <sage@inktank.com>2013-05-01 21:16:15 -0700
commit2a24d1f4bd7995de133c857bfdc77ac82c842300 (patch)
tree33d1fa3029e7009f041043ef96cba3c782e475db /include/linux/ceph/osd_client.h
parent8f63ca2d23c7922b24d7b95e54740ec29c859379 (diff)
libceph: use (void *) for untyped data in osd ops
Two of the fields defining osd operations are defined using (char *) while the data they represent are really untyped, not character strings. Change them to have type (void *). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph/osd_client.h')
-rw-r--r--include/linux/ceph/osd_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index a79f833bba4a..ec33588194ef 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -184,7 +184,7 @@ struct ceph_osd_req_op {
} extent;
struct {
const char *name;
- const char *val;
+ const void *val;
u32 name_len;
u32 value_len;
__u8 cmp_op; /* CEPH_OSD_CMPXATTR_OP_* */
@@ -193,7 +193,7 @@ struct ceph_osd_req_op {
struct {
const char *class_name;
const char *method_name;
- const char *indata;
+ const void *indata;
u32 indata_len;
__u8 class_len;
__u8 method_len;