aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-03 02:28:58 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:18:13 -0400
commit54d5064912649e296552f298e6472ffd37cd8f90 (patch)
tree1fd2997fff2c1fb959e22d329a14ae9a4822ee11 /include
parent79528734f3ae4699a2886f62f55e18fb34fb3651 (diff)
libceph: rename data out field in osd request op
There are fields "indata" and "indata_len" defined the ceph osd request op structure. The "in" part is with from the point of view of the osd server, but is a little confusing here on the client side. Change their names to use "request" instead of "in" to indicate that it defines data provided with the request (as opposed the data returned in the response). Rename the local variable in osd_req_encode_op() to match. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include')
-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 f4c1a2a22a14..a9c4089894c8 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -91,8 +91,8 @@ struct ceph_osd_req_op {
91 struct { 91 struct {
92 const char *class_name; 92 const char *class_name;
93 const char *method_name; 93 const char *method_name;
94 const void *indata; 94 const void *request_data;
95 u32 indata_len; 95 u32 request_data_len;
96 __u8 class_len; 96 __u8 class_len;
97 __u8 method_len; 97 __u8 method_len;
98 __u8 argc; 98 __u8 argc;