Whamcloud - gitweb
Fix endian problems in the htree code for e2fsck and debugfs.
authorTheodore Ts'o <tytso@mit.edu>
Thu, 3 Oct 2002 02:07:17 +0000 (22:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Oct 2002 02:07:17 +0000 (22:07 -0400)
commit8132d840c8f6b0d90ab5048d6f8529f74e1aa0b3
treeee14b3b1993ee2e081a01ac3d4a71c0ad258eadf
parent3432a916edad569235586b45d1a51706d4d700a7
Fix endian problems in the htree code for e2fsck and debugfs.

When byte-swapping a filesystem on a PPC architecture, byte-swap
the bitmaps since the historical big-endian ext2 variant had
byte-swapped bitmaps, and the ext2fs library assumes this.  Otherwise
the regression test suite will fail...
debugfs/ChangeLog
debugfs/htree.c
e2fsck/ChangeLog
e2fsck/pass2.c
e2fsck/swapfs.c
lib/ext2fs/ChangeLog
lib/ext2fs/rw_bitmaps.c
lib/ext2fs/swapfs.c