Loading fs_mgr/libsnapshot/snapshotctl.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -255,6 +255,8 @@ bool MapSnapshots::GetCowDevicePath(std::string partition_name, std::string* cow } } LOG(INFO) << "Failed to find cow path: " << cow_device << " Checking the device for -img path"; LOG(INFO) << "Failed to find cow path: " << cow_device << " Checking the device for -img path"; // If the COW device exists only on /data cow_device = partition_name + "-cow-img"; if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { LOG(ERROR) << "Failed to cow path: " << cow_device; LOG(ERROR) << "Failed to cow path: " << cow_device; return false; return false; Loading Loading
fs_mgr/libsnapshot/snapshotctl.cpp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -255,6 +255,8 @@ bool MapSnapshots::GetCowDevicePath(std::string partition_name, std::string* cow } } LOG(INFO) << "Failed to find cow path: " << cow_device << " Checking the device for -img path"; LOG(INFO) << "Failed to find cow path: " << cow_device << " Checking the device for -img path"; // If the COW device exists only on /data cow_device = partition_name + "-cow-img"; if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { if (!dm.GetDmDevicePathByName(cow_device, cow_path)) { LOG(ERROR) << "Failed to cow path: " << cow_device; LOG(ERROR) << "Failed to cow path: " << cow_device; return false; return false; Loading