From 6e7d9688683887ba53ea2858771a13fdafd16edf Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Wed, 30 May 2007 22:47:10 -0700 Subject: [PATCH] Do not bother to split indirect block lists into a separate segment. For now, just group them with the rest of the metadata. It's not worth splitting them up now; this could be reverted later. --- scandir.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scandir.cc b/scandir.cc index aa7ce53..64a0dbf 100644 --- a/scandir.cc +++ b/scandir.cc @@ -68,7 +68,7 @@ void metadata_flush() /* Write current metadata information to a new object. */ LbsObject *meta = new LbsObject; - meta->set_group("root"); + meta->set_group("metadata"); meta->set_data(m.data(), m.size()); meta->write(tss); meta->checksum(); @@ -194,7 +194,7 @@ int64_t dumpfile(int fd, dictionary &file_info) } LbsObject *i = new LbsObject; - i->set_group("indirect"); + i->set_group("metadata"); i->set_data(blocklist.data(), blocklist.size()); i->write(tss); file_info["data"] = "@" + i->get_name(); @@ -479,7 +479,7 @@ int main(int argc, char *argv[]) const string md = metadata_root.str(); LbsObject *root = new LbsObject; - root->set_group("root"); + root->set_group("metadata"); root->set_data(md.data(), md.size()); root->write(tss); root->checksum(); -- 2.20.1