Fix DirBlob::releaseBaseBlob()
This commit is contained in:
parent
e890222c77
commit
81e856fda2
@ -262,6 +262,7 @@ void DirBlob::setLstatSizeGetter(std::function<off_t(const blockstore::Key&)> ge
|
||||
cpputils::unique_ref<blobstore::Blob> DirBlob::releaseBaseBlob() {
|
||||
std::unique_lock<std::mutex> lock(_mutex);
|
||||
_writeEntriesToBlob();
|
||||
return FsBlob::releaseBaseBlob();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -24,10 +24,11 @@ namespace cryfs {
|
||||
|
||||
static void InitializeBlobWithMagicNumber(blobstore::Blob *blob, unsigned char magicNumber);
|
||||
|
||||
private:
|
||||
friend class FsBlobStore;
|
||||
virtual cpputils::unique_ref<blobstore::Blob> releaseBaseBlob();
|
||||
|
||||
private:
|
||||
|
||||
cpputils::unique_ref<blobstore::Blob> _baseBlob;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(FsBlob);
|
||||
|
Loading…
Reference in New Issue
Block a user