#undef dout_prefix
#define dout_prefix *_dout << "fuse "
+using std::list;
+using std::map;
+using std::set;
+using std::string;
+using std::vector;
+
+using ceph::bufferlist;
+using ceph::bufferptr;
+
// some fuse-y bits of state
struct fs_info {
struct fuse_args args;
}
OpenFile *o = new OpenFile;
o->path = p;
- o->bl.claim(bl);
+ o->bl = std::move(bl);
open_files[p] = o;
fi->fh = reinterpret_cast<uint64_t>(o);
++o->ref;
if (pbl) {
FuseStore::OpenFile *o = new FuseStore::OpenFile;
- o->bl.claim(*pbl);
+ o->bl = std::move(*pbl);
fi->fh = reinterpret_cast<uint64_t>(o);
}
return 0;
if (pbl) {
FuseStore::OpenFile *o = new FuseStore::OpenFile;
- o->bl.claim(*pbl);
+ o->bl = std::move(*pbl);
o->dirty = true;
fi->fh = reinterpret_cast<uint64_t>(o);
}