OSDN Git Service

libext2s: fix swapfs.c so it builds on big endian systems
authorTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 21:51:03 +0000 (17:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 21:51:03 +0000 (17:51 -0400)
commitae96c678e15eda2a5d0eea7e1067b449f6604aff
tree5c51935f351ce57f6e34d07eefe9efd1dc5ba2bb
parent3694bf1cd0116dec2f066203b9373cca8699fc27
libext2s: fix swapfs.c so it builds on big endian systems

Also cleaned up ext2_fs.h, and improved the byte swapping code so the
extra fields in the large inode are properly byte swapped.

Addresses-Debian-Bug: #641838

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ext2_fs.h
lib/ext2fs/swapfs.c