Loading fs_mgr/libsnapshot/libsnapshot_cow/parser_v2.cpp +0 −9 Original line number Diff line number Diff line Loading @@ -46,15 +46,6 @@ bool CowParserV2::Parse(borrowed_fd fd, const CowHeader& header, std::optional<u LOG(ERROR) << "Clusters must contain at least two operations to function."; return false; } if (header_.op_size != sizeof(CowOperationV2)) { LOG(ERROR) << "Operation size unknown, read " << header_.op_size << ", expected " << sizeof(CowOperationV2); return false; } if (header_.cluster_ops == 1) { LOG(ERROR) << "Clusters must contain at least two operations to function."; return false; } if ((header_.prefix.major_version > kCowVersionMajor) || (header_.prefix.minor_version != kCowVersionMinor)) { Loading Loading
fs_mgr/libsnapshot/libsnapshot_cow/parser_v2.cpp +0 −9 Original line number Diff line number Diff line Loading @@ -46,15 +46,6 @@ bool CowParserV2::Parse(borrowed_fd fd, const CowHeader& header, std::optional<u LOG(ERROR) << "Clusters must contain at least two operations to function."; return false; } if (header_.op_size != sizeof(CowOperationV2)) { LOG(ERROR) << "Operation size unknown, read " << header_.op_size << ", expected " << sizeof(CowOperationV2); return false; } if (header_.cluster_ops == 1) { LOG(ERROR) << "Clusters must contain at least two operations to function."; return false; } if ((header_.prefix.major_version > kCowVersionMajor) || (header_.prefix.minor_version != kCowVersionMinor)) { Loading