Loading fs_mgr/libsnapshot/snapshotctl.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ class MapSnapshots { bool FinishSnapshotWrites(); bool UnmapCowImagePath(std::string& name); bool DeleteSnapshots(); bool CleanupSnapshot() { return sm_->PrepareDeviceToBootWithoutSnapshot(); } bool CleanupSnapshot(); bool BeginUpdate(); bool ApplyUpdate(); Loading Loading @@ -495,6 +495,11 @@ bool MapSnapshots::UnmapCowImagePath(std::string& name) { return sm_->UnmapCowImage(name); } bool MapSnapshots::CleanupSnapshot() { sm_ = SnapshotManager::New(); return sm_->PrepareDeviceToBootWithoutSnapshot(); } bool MapSnapshots::DeleteSnapshots() { sm_ = SnapshotManager::New(); lock_ = sm_->LockExclusive(); Loading Loading
fs_mgr/libsnapshot/snapshotctl.cpp +6 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ class MapSnapshots { bool FinishSnapshotWrites(); bool UnmapCowImagePath(std::string& name); bool DeleteSnapshots(); bool CleanupSnapshot() { return sm_->PrepareDeviceToBootWithoutSnapshot(); } bool CleanupSnapshot(); bool BeginUpdate(); bool ApplyUpdate(); Loading Loading @@ -495,6 +495,11 @@ bool MapSnapshots::UnmapCowImagePath(std::string& name) { return sm_->UnmapCowImage(name); } bool MapSnapshots::CleanupSnapshot() { sm_ = SnapshotManager::New(); return sm_->PrepareDeviceToBootWithoutSnapshot(); } bool MapSnapshots::DeleteSnapshots() { sm_ = SnapshotManager::New(); lock_ = sm_->LockExclusive(); Loading