Whamcloud - gitweb
endian-annotate most on-disk structures
authorEric Sandeen <sandeen@redhat.com>
Tue, 4 Nov 2014 16:24:56 +0000 (11:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Nov 2014 16:24:56 +0000 (11:24 -0500)
commit1224c0d3ea3dd278f5f4e48fa024e0cdb5e656b1
tree725db4e50b08e7d83754cf2dc4f81bd51350157e
parent387e03160c44db21f97fbb4b7c4af954e0cb8931
endian-annotate most on-disk structures

This annotates most on-disk structures for endianness;
however it does not annotate some, like the superblock, inodes,
mmp, etc, as these are swapped in-place at this point.  This is
a little inconsistent, but should help catch some endian mistakes,
at least.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext3_extents.h
lib/ext2fs/kernel-jbd.h
lib/quota/quotaio.c
lib/quota/quotaio_tree.h
lib/quota/quotaio_v2.h