summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_torrent.h
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>2016-11-20 21:49:57 +0100
committerRadoslaw Zarzynski <rzarzyns@redhat.com>2017-08-27 23:29:34 +0200
commit21ad80a1c237f8d243efaacd8218b29719a0a6b0 (patch)
treea54f213aaf44bc9903b9c5918958880800cba9f6 /src/rgw/rgw_torrent.h
parentrgw: add support for max_meta_count of Swift API's /info. (diff)
downloadceph-21ad80a1c237f8d243efaacd8218b29719a0a6b0.tar.xz
ceph-21ad80a1c237f8d243efaacd8218b29719a0a6b0.zip
rgw: seed::get_torrent_file returns errors in the usual way.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Diffstat (limited to 'src/rgw/rgw_torrent.h')
-rw-r--r--src/rgw/rgw_torrent.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rgw/rgw_torrent.h b/src/rgw/rgw_torrent.h
index b33aac09b74..fd6a0d6ed58 100644
--- a/src/rgw/rgw_torrent.h
+++ b/src/rgw/rgw_torrent.h
@@ -115,8 +115,10 @@ public:
int get_params();
void init(struct req_state *p_req, RGWRados *p_store);
- void get_torrent_file(int &op_ret, RGWRados::Object::Read &read_op,
- uint64_t &total_len, bufferlist &bl_data, rgw_obj &obj);
+ int get_torrent_file(RGWRados::Object::Read &read_op,
+ uint64_t &total_len,
+ ceph::bufferlist &bl_data,
+ rgw_obj &obj);
off_t get_data_len();
bool get_flag();