]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix rgw_read_user_buckets() use of max param 1183/head
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 4 Feb 2014 18:34:02 +0000 (10:34 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 4 Feb 2014 18:37:11 +0000 (10:37 -0800)
commit04b1ae466e280568656f8effb031b01505077c6b
treefb10479783a1e3dd51b8a20592bdad8658c197c7
parent60ca6f699b8fac987c95f939b9e0b92be233240b
rgw: fix rgw_read_user_buckets() use of max param

Fixes: #7336
The rgw_read_user_buckets() treated the max param as the max number of
entries to request in a single op, but always fetched the entire list
of buckets. This is wrong, as it should have treated it as the total
number of entries requested. All the callers assume the latter.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_bucket.cc