Whamcloud - gitweb
create_inode: fix build failure when libarchive is not present
authorTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 16:10:30 +0000 (12:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 16:31:45 +0000 (12:31 -0400)
Add the new flags parameter to the version of __populate_fs_from_tar()
used when libarchive is not present to fix a build failure.

Fixes: 2dc83ca9b892 ("create_inode: pass no_copy_xattr via a flag...")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode_libarchive.c

index b088e34..d787c5d 100644 (file)
@@ -30,6 +30,7 @@ errcode_t __populate_fs_from_tar(ext2_filsys fs EXT2FS_ATTR((unused)),
                                 ext2_ino_t root EXT2FS_ATTR((unused)),
                                 struct hdlinks_s *hdlinks EXT2FS_ATTR((unused)),
                                 struct file_info *target EXT2FS_ATTR((unused)),
+                                int flags EXT2FS_ATTR((unused)),
                                 struct fs_ops_callbacks *fs_callbacks EXT2FS_ATTR((unused))) {
   com_err(__func__, 0,
           _("you need to compile e2fsprogs without --without-libarchive"