e2fsprogs: Fix build failure on powerpc.
PATCH 1/1 e2fsprogs: Fix build failure on powerpc.
../../../lib/ext2fs/swapfs.c:198: error: 'struct <anonymous>' has no member named 'i_pad1' ../../../lib/ext2fs/swapfs.c:198: error: 'struct <anonymous>' has no member named 'i_pad1' make[2]: *** [swapfs.o] Error 1
make[1]: *** [all-libs-recursive] Error 1
make: *** [all] Error 2
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- lib/ext2fs/swapfs.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
lib/ext2fs/swapfs.c +2 -1
@@ -195,7 +195,8 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t,ext2fs_swab32 (f->osd1.linux1.l_i_version); t->osd2.linux2.l_i_blocks_hi =ext2fs_swab16 (f->osd2.linux2.l_i_blocks_hi); - t->osd2.linux2.i_pad1 =ext2fs_swab16 (f->osd2.linux2.i_pad1); + t->osd2.linux2.l_i_file_acl_high = +ext2fs_swab16 (f->osd2.linux2.l_i_file_acl_high); t->osd2.linux2.l_i_uid_high =ext2fs_swab16 (f->osd2.linux2.l_i_uid_high); t->osd2.linux2.l_i_gid_high =
Signature · 1 line
1.5.5.1.357.g1af8b.dirty