Fix erofs-utils 1.7 compatibility
Test: th
Change-Id: I273fb8937e584fadf8fe7205be75c049a474bdba
diff --git a/payload_generator/erofs_filesystem.h b/payload_generator/erofs_filesystem.h
index d0abcb3..b10fc98 100644
--- a/payload_generator/erofs_filesystem.h
+++ b/payload_generator/erofs_filesystem.h
@@ -20,6 +20,8 @@
#include "update_engine/payload_generator/filesystem_interface.h"
#include "update_engine/payload_generator/delta_diff_generator.h"
+struct erofs_sb_info;
+
namespace chromeos_update_engine {
class ErofsFilesystem final : public FilesystemInterface {
@@ -50,7 +52,8 @@
// space.
// <metadata>: With the rest of ext2 metadata blocks, such as superblocks
// and bitmap tables.
- static bool GetFiles(const std::string& filename,
+ static bool GetFiles(struct erofs_sb_info* sbi,
+ const std::string& filename,
std::vector<File>* files,
const CompressionAlgorithm& algo);