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>
This commit is contained in:
Alex Elder 2013-04-03 01:28:58 -05:00 committed by Sage Weil
parent 79528734f3
commit 54d5064912
2 changed files with 11 additions and 11 deletions

View file

@ -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;