{
int rc;
- /* XXXX remove uri, deal with bucket and object names */
- string uri;
-
RGWLibFS *fs = static_cast<RGWLibFS*>(rgw_fs->fs_private);
CephContext* cct = static_cast<CephContext*>(rgw_fs->rgw);
/*
* bucket?
*/
- uri += "/";
+ /* XXXX remove uri, deal with bucket and object names */
+ string uri = "/" + parent->bucket_name() + "/";
RGWListBucketRequest req(cct, fs->get_user(), uri, rcb, cb_arg, offset);
rc = librgw.get_fe()->execute_req(&req);
using std::get;
for (auto& fids : { fids1, fids2 }) {
for (auto& fid : fids) {
- ret = rgw_fh_rele(fs, get<2>(fid), 0 /* flags */);
+ /* XXX readdir only looked up their names (atm), don't try to rele() */
+ //ret = rgw_fh_rele(fs, get<2>(fid), 0 /* flags */);
}
}
}