Loading fs_mgr/liblp/reader.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -314,7 +314,7 @@ std::unique_ptr<LpMetadata> ReadMetadata(int fd, uint32_t slot_number) { return nullptr; return nullptr; } } // Read the priamry copy, and if that fails, try the backup. // Read the primary copy, and if that fails, try the backup. std::unique_ptr<LpMetadata> metadata = ReadPrimaryMetadata(fd, geometry, slot_number); std::unique_ptr<LpMetadata> metadata = ReadPrimaryMetadata(fd, geometry, slot_number); if (metadata) { if (metadata) { return metadata; return metadata; Loading Loading
fs_mgr/liblp/reader.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -314,7 +314,7 @@ std::unique_ptr<LpMetadata> ReadMetadata(int fd, uint32_t slot_number) { return nullptr; return nullptr; } } // Read the priamry copy, and if that fails, try the backup. // Read the primary copy, and if that fails, try the backup. std::unique_ptr<LpMetadata> metadata = ReadPrimaryMetadata(fd, geometry, slot_number); std::unique_ptr<LpMetadata> metadata = ReadPrimaryMetadata(fd, geometry, slot_number); if (metadata) { if (metadata) { return metadata; return metadata; Loading