From 28b73f8472b1490f71645433cf0836d3fc9805c2 Mon Sep 17 00:00:00 2001 From: Daniel Rosenberg Date: Mon, 14 Dec 2020 17:06:02 -0800 Subject: [PATCH] libsnapshot: Remove misleading message If we read up to a label, this error message is unneeded, and if we don't, we already return an error message before this, leaving the old message as entirely redundant and misleading. Test: Run, verify "No COW Footer, recovered data" does not show in logs Bug: 172026020 Change-Id: I31d054ccf898cf93c71ff201f0868e57cd1a6135 --- fs_mgr/libsnapshot/cow_reader.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs_mgr/libsnapshot/cow_reader.cpp b/fs_mgr/libsnapshot/cow_reader.cpp index 3fbc5f32a..c15a05b68 100644 --- a/fs_mgr/libsnapshot/cow_reader.cpp +++ b/fs_mgr/libsnapshot/cow_reader.cpp @@ -222,8 +222,6 @@ bool CowReader::ParseOps(std::optional label) { LOG(ERROR) << "ops checksum does not match"; return false; } - } else { - LOG(INFO) << "No COW Footer, recovered data"; } ops_ = ops_buffer;