summaryrefslogtreecommitdiff
path: root/e2fsck/journal.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2007-08-11 02:57:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2007-08-11 02:57:31 -0400
commit2eae093081a097a0a611fe2817e1533825dfdd86 (patch)
tree0f34faaeaecd45d818dee4b47ecbb7363b60c53e /e2fsck/journal.c
parent126a291c768b523bc228b276d3bea82675a86d09 (diff)
downloade2fsprogs-2eae093081a097a0a611fe2817e1533825dfdd86.tar.gz
Clean up applications to not use EXT2FS_ENABLE_SWAPFS or EXT2_FLAG_SWAP_BYTES
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/journal.c')
-rw-r--r--e2fsck/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e2fsck/journal.c b/e2fsck/journal.c
index 756bbcb2..eebd22fd 100644
--- a/e2fsck/journal.c
+++ b/e2fsck/journal.c
@@ -385,7 +385,7 @@ static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal)
memcpy(&jsuper, start ? bh->b_data : bh->b_data + 1024,
sizeof(jsuper));
brelse(bh);
-#ifdef EXT2FS_ENABLE_SWAPFS
+#ifdef WORDS_BIGENDIAN
if (jsuper.s_magic == ext2fs_swab16(EXT2_SUPER_MAGIC))
ext2fs_swap_super(&jsuper);
#endif