Whamcloud - gitweb
Don't byte swap extents information in the inode
authorTheodore Ts'o <tytso@mit.edu>
Sat, 1 Sep 2007 13:10:43 +0000 (09:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 Feb 2008 20:27:04 +0000 (15:27 -0500)
commit4ce3b77480496a20cf380bd18a8ae4a414b7d4a0
tree70d9e4d732b8ab9645d96c9c4f13df0bf5508423
parent49ce6cb5cee956a478a3704c92619de1c7f204d5
Don't byte swap extents information in the inode

Responsibility for byte swapping the extents information rests with
the low-level extent code, which translates the on-disk extents
information to the abstract extent format.  The on-disk format will
eventually get more complicated, in order to add support for 64-bit
block numbers, bit-compressed extents, etc.  So to avoid needing to
expose all of that complexity in swapfs.c, the in-memory contents of
i_blocks will not be byte-swapped and will be identical to the on-disk
format.

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