e2fsprogs/lib/ext2fs
Eric Sandeen 82e541885e Fix ext2fs_swap_inode_full() for in-inode xattrs on big-endian machines
After the fix for resize2fs's inode mover losing in-inode
extended attributes, the regression test I wrote caught
that the attrs were still getting lost on powerpc.

Looks like the problem is that ext2fs_swap_inode_full()
isn't paying attention to whether or not the EA magic is
in hostorder, so it's not recognized (and not swapped)
on BE machines.  Patch below seems to fix it.

Yay for regression tests.  ;)

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2008-03-14 14:32:53 -04:00
..
tdb Update to latest samba tdb library before LGPLv3 change 2008-02-17 17:35:54 -05:00
Makefile.in Add test to make sure the ext2 superblock structure is 1024 bytes 2007-05-31 12:39:02 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
alloc.c Fix memory leak in ext2fs_alloc_block() 2008-02-19 08:40:27 -05:00
alloc_sb.c Add support for on-line resizing ala the resize inode. This patch 2004-12-15 14:39:16 -05:00
alloc_stats.c Fix bug where ext2fs_mkdir wasn't correctly bumping the number of 2002-02-03 01:28:52 -05:00
alloc_tables.c Create new ext2fs library inlines: ext2fs_group_{first,last}_block() 2006-09-12 14:56:16 -04:00
badblocks.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
bb_compat.c Many files: 2001-05-14 11:35:52 +00:00
bb_inode.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
bitmaps.c Detect overflows in loop counters 2006-08-30 02:16:55 -04:00
bitops.c Change the function prototypes of ext2fs_set_bit, ext2fs_clear_bit, and 2005-06-30 19:40:18 -04:00
bitops.h Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
block.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
bmap.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
bmove.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
brel.h Many files: 2001-01-11 04:54:39 +00:00
brel_ma.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
check_desc.c Fix test in ext2fs_check_desc() for inode table within block group 2007-07-22 16:00:43 -04:00
closefs.c ext2fs_flushfs: Remove the NEEDS_RECOVERY from the backup superblocks 2007-12-15 19:39:37 -05:00
cmp_bitmaps.c Many files: 2001-05-14 11:35:52 +00:00
dblist.c libext2fs: Add ext2fs_dblist_get_last() and ext2fs_dblist_drop_last() 2008-03-13 00:34:16 -04:00
dblist_dir.c ext2fs_dblist_dir_iterate: Fix ABORT propagation logic 2007-09-23 11:39:24 -04:00
dir_iterate.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
dirblock.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
dirhash.c Add directory hashed signed/unsigned hint to superblock 2006-11-11 22:32:35 -05:00
dosio.c ChangeLog, wordwrap.pl: 2001-06-01 23:49:46 +00:00
dosio.h Many files: 1997-08-11 20:29:22 +00:00
dupfs.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
e2image.h Many files: 2001-05-03 04:02:29 +00:00
expanddir.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
ext2_err.et.in libext2fs: Add ext2fs_dblist_get_last() and ext2fs_dblist_drop_last() 2008-03-13 00:34:16 -04:00
ext2_ext_attr.h Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
ext2_fs.h Add support for the test_fs flag 2008-01-26 21:47:40 -05:00
ext2_io.h Add IO_FLAG_EXCLUSIVE flag to io_channel abstraction 2006-03-18 18:57:44 -05:00
ext2_types.h.in Fix asm_types.h type conflicts 2006-04-09 08:41:55 -04:00
ext2fs.h libext2fs: Add ext2fs_dblist_get_last() and ext2fs_dblist_drop_last() 2008-03-13 00:34:16 -04:00
ext2fs.pc.in Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
ext2fsP.h Add support to e2fsck to reindex directories to use hash trees. 2002-07-20 00:28:07 -04:00
ext3_extents.h Check in ext4 extent headers into the source tree 2006-11-12 22:54:35 -05:00
ext_attr.c Add library support for large (EA in inode) inodes. Make sure that garbage 2005-01-25 23:42:56 -05:00
fileio.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
finddev.c finddev.c (scan_dir): Fix memory leak; we weren't calling 2001-07-29 12:01:09 -04:00
flushb.c Re-add FreeBSD support. 2003-12-28 18:21:26 +01:00
freefs.c Add support for passing options to the io layer using the URL syntax. For 2004-11-30 14:07:11 -05:00
gen_bitmap.c ChangeLog, Makefile.in, bitops.h, gen_bitmap.c: 2001-06-11 15:17:45 +00:00
get_pathname.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
getsectsize.c getsectsize.c (BLKSSZGET): Clean up test for when to manually 2005-06-19 23:11:09 -04:00
getsize.c ext2fs_get_device_size(): Fix potential fd descriptor leak in an error case 2007-04-18 21:37:42 -04:00
icount.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
imager.c [COVERITY] Fix (error case) memory leak in libext2fs (ext2fs_image_inode_write) 2007-03-21 17:43:37 -04:00
ind_block.c Add missing return values in error return cases in the ext2fs library. 2005-04-09 01:21:21 -04:00
initialize.c Add support for setting RAID stride and strip-width via mke2fs and tune2fs 2008-02-18 22:56:25 -05:00
inline.c Many files: 2001-05-14 11:35:52 +00:00
inode.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
inode_io.c Add support for backing up the journal inode location in the 2003-08-21 00:40:26 -04:00
io_manager.c Add support for passing options to the io layer using the URL syntax. For 2004-11-30 14:07:11 -05:00
irel.h Many files: 2001-01-11 04:54:39 +00:00
irel_ma.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
ismounted.c fix check_mntent_file() to pass mode for open(O_CREAT) 2007-12-02 05:25:30 -05:00
jfs_compat.h Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
jfs_dat.h ChangeLog, Makefile.in, ext2_err.et.in, ext2fs.h, jfs_dat.h, mkjournal.c: 2000-10-24 18:33:16 +00:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
kernel-jbd.h Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
kernel-list.h Lots of small random portability fixes to make e2fsprogs build 2002-02-12 02:34:44 -05:00
link.c link.c (ext2fs_link): When adding a new link to a directory, 2002-07-29 19:26:33 -04:00
llseek.c Use lseek() instead of llseek() of sizeof(long) == sizeof(long long) 2008-01-27 00:35:32 -05:00
lookup.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
mkdir.c Add fs->now to override time(0) in libext2fs 2005-09-24 20:14:51 -04:00
mkjournal.c Add default journal size function 2007-06-21 11:59:06 -04:00
namei.c Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
native.c ChangeLog, Makefile.in, swapfs.c, unix.c: 2001-06-11 07:00:04 +00:00
newdir.c ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem() 2003-08-01 09:41:07 -04:00
nt_io.c Many files: 2001-05-14 11:35:52 +00:00
openfs.c libext2fs: Add EXT2_FLAG_NONFREE_ON_ERROR to ext2fs_open2() 2008-02-26 20:45:36 -05:00
read_bb.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
read_bb_file.c Fix various gcc -Wall complaints. 2005-12-10 21:50:30 -05:00
res_gdt.c libext2fs: Add checks to prevent integer overflows passed to malloc() 2007-12-05 21:01:35 -05:00
rs_bitmap.c ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem() 2003-08-01 09:41:07 -04:00
rw_bitmaps.c Add support for EXT2_FEATURE_COMPAT_LAZY_BG 2006-05-08 20:17:26 -04:00
sparse.c Add support for on-line resizing ala the resize inode. This patch 2004-12-15 14:39:16 -05:00
swapfs.c Fix ext2fs_swap_inode_full() for in-inode xattrs on big-endian machines 2008-03-14 14:32:53 -04:00
tdb.c Update to latest samba tdb library before LGPLv3 change 2008-02-17 17:35:54 -05:00
tdb.h Update to latest samba tdb library before LGPLv3 change 2008-02-17 17:35:54 -05:00
tdbtool.c Add tdb from Samba into libext2fs library. 2007-04-04 21:26:37 -04:00
test_io.c Fix false positives from valgrind: prctl(PR_GET_DUMPABLE) 2005-07-25 11:36:43 -05:00
tst_badblocks.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00
tst_bitops.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
tst_byteswap.c Fix various gcc -Wall complaints. 2002-03-07 23:52:56 -05:00
tst_getsectsize.c mke2fs.c (PRS, set_fs_defaults): If the sector size of the 2003-05-21 17:28:29 -04:00
tst_getsize.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00
tst_iscan.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00
tst_super_size.c Add test to make sure the ext2 superblock structure is 1024 bytes 2007-05-31 12:39:02 -04:00
tst_types.c Fix gcc -Wall warnings, especially on 64-bit systems 2007-05-25 11:18:11 -04:00
unix_io.c Allow unix_io offsets greater than 2G 2006-11-12 10:40:40 -05:00
unlink.c libext2fs: Fix a corner case bug in ext2fs_unlink 2007-12-02 05:25:30 -05:00
valid_blk.c valid_blk.c (ext2fs_inode_has_valid_blocks): Fix bug which 2002-08-20 01:14:30 -04:00
version.c Stop after the second '.' when parsing version numbers 2007-07-08 12:37:13 -04:00
write_bb_file.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00