]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
libext2fs: always define i_checksum_lo
authorTheodore Ts'o <tytso@mit.edu>
Sat, 22 Sep 2012 13:02:52 +0000 (09:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Sep 2012 13:02:52 +0000 (09:02 -0400)
Always #define i_checksum_lo, since otherwise e2fsprogs won't compile
on non-Linux platforms.

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

index 5b6e315613ccfd4a3ee1e0955c831a50c0f45766..0c0bbcbf507a4c839a385b5c7415bcb138faaee8 100644 (file)
@@ -475,6 +475,8 @@ struct ext2_inode_large {
 
 #define i_dir_acl      i_size_high
 
+#define i_checksum_lo  osd2.linux2.l_i_checksum_lo
+
 #if defined(__KERNEL__) || defined(__linux__)
 #define i_reserved1    osd1.linux1.l_i_reserved1
 #define i_frag         osd2.linux2.l_i_frag
@@ -483,7 +485,6 @@ struct ext2_inode_large {
 #define i_gid_low      i_gid
 #define i_uid_high     osd2.linux2.l_i_uid_high
 #define i_gid_high     osd2.linux2.l_i_gid_high
-#define i_checksum_lo  osd2.linux2.l_i_checksum_lo
 #else
 #if defined(__GNU__)