aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-01 19:00:15 -0500
committerSage Weil <sage@inktank.com>2013-05-02 00:16:15 -0400
commit2a24d1f4bd7995de133c857bfdc77ac82c842300 (patch)
tree33d1fa3029e7009f041043ef96cba3c782e475db
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>
-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 {
184 } extent; 184 } extent;
185 struct { 185 struct {
186 const char *name; 186 const char *name;
187 const char *val; 187 const void *val;
188 u32 name_len; 188 u32 name_len;
189 u32 value_len; 189 u32 value_len;
190 __u8 cmp_op; /* CEPH_OSD_CMPXATTR_OP_* */ 190 __u8 cmp_op; /* CEPH_OSD_CMPXATTR_OP_* */
@@ -193,7 +193,7 @@ struct ceph_osd_req_op {
193 struct { 193 struct {
194 const char *class_name; 194 const char *class_name;
195 const char *method_name; 195 const char *method_name;
196 const char *indata; 196 const void *indata;
197 u32 indata_len; 197 u32 indata_len;
198 __u8 class_len; 198 __u8 class_len;
199 __u8 method_len; 199 __u8 method_len;