diff options
author | Alex Elder <elder@inktank.com> | 2012-11-09 09:43:15 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-01-17 16:52:01 -0500 |
commit | af77f26caa35a95af09d1dac5c513b3901de7e37 (patch) | |
tree | 9c5efeda0e8eead5ece30957f88d6155f677cb0c /include/linux/ceph/osd_client.h | |
parent | 0ec8ce87f3bb5e4a561190f5320934e003405b6f (diff) |
rbd: drop oid parameters from ceph_osdc_build_request()
The last two parameters to ceph_osd_build_request() describe the
object id, but the values passed always come from the osd request
structure whose address is also provided. Get rid of those last
two parameters.
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.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index d9b880e977e6..f2e5d2cdca06 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h | |||
@@ -227,9 +227,7 @@ extern void ceph_osdc_build_request(struct ceph_osd_request *req, | |||
227 | u64 off, u64 *plen, | 227 | u64 off, u64 *plen, |
228 | struct ceph_osd_req_op *src_ops, | 228 | struct ceph_osd_req_op *src_ops, |
229 | struct ceph_snap_context *snapc, | 229 | struct ceph_snap_context *snapc, |
230 | struct timespec *mtime, | 230 | struct timespec *mtime); |
231 | const char *oid, | ||
232 | int oid_len); | ||
233 | 231 | ||
234 | extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, | 232 | extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, |
235 | struct ceph_file_layout *layout, | 233 | struct ceph_file_layout *layout, |