summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-03 01:28:58 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:18:13 -0700
commit54d5064912649e296552f298e6472ffd37cd8f90 (patch)
tree1fd2997fff2c1fb959e22d329a14ae9a4822ee11 /include/linux/ceph
parent79528734f3ae4699a2886f62f55e18fb34fb3651 (diff)
downloadblackbird-op-linux-54d5064912649e296552f298e6472ffd37cd8f90.tar.gz
blackbird-op-linux-54d5064912649e296552f298e6472ffd37cd8f90.zip
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/linux/ceph')
-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 {
struct {
const char *class_name;
const char *method_name;
- const void *indata;
- u32 indata_len;
+ const void *request_data;
+ u32 request_data_len;
__u8 class_len;
__u8 method_len;
__u8 argc;
OpenPOWER on IntegriCloud