kill fs2hXX/h2fsXX macros with letohXX/htoleXX
authorpelikan <pelikan@openbsd.org>
Sun, 13 Jul 2014 16:44:20 +0000 (16:44 +0000)
committerpelikan <pelikan@openbsd.org>
Sun, 13 Jul 2014 16:44:20 +0000 (16:44 +0000)
commit26270cbe7750661e58756af2690f5d28339c7839
treed48cb3dbfb9d7081466898dc7e61aac05f0f6ddd
parent7a019b8eb1b4a91d6243ab9ad067eeb49a25f2a4
kill fs2hXX/h2fsXX macros with letohXX/htoleXX

The reason being that ext2 structures are little-endian but JBD2 journal
is big-endian.  Don't confuse readers by talking about "file system endian".

While here, nuke the copy of bswap.c and link it against the kernel's like
fsck_ext2fs has done, for better maintainability.

ok guenther
sbin/newfs_ext2fs/Makefile
sbin/newfs_ext2fs/ext2fs_bswap.c [deleted file]
sbin/newfs_ext2fs/mke2fs.c