]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls_rgw: rgw_dir_suggest_changes move cur_disk_bl inside loop
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 17 Apr 2012 07:12:45 +0000 (00:12 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 17 Apr 2012 07:12:45 +0000 (00:12 -0700)
commitf22da6c0d95050bc084eafa37d9ac226fcca4bb8
tree1c0e99a048fc66d1abde8b4b8bdf739948d17af3
parent6868ec6abfe433dbd56d9c2aeb8a9b8431d18c2e
cls_rgw: rgw_dir_suggest_changes move cur_disk_bl inside loop

Otherwise we'd fail in case the cls_cxx_read_key failed, since
we rely on its size.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/cls_rgw.cc