better type safety and KNF.
authorpelikan <pelikan@openbsd.org>
Mon, 14 Jul 2014 08:54:13 +0000 (08:54 +0000)
committerpelikan <pelikan@openbsd.org>
Mon, 14 Jul 2014 08:54:13 +0000 (08:54 +0000)
commit5970a65fa5c1fd475265e85aa46bb13725c19733
tree70f7f5bcd7e2783e8edd3866340349ad8ce0c48b
parentb8d87d2e414b4061f0637fcf138604a17a19077d
better type safety and KNF.

Because ext2fs has only 32-bit inode numbers, use ufsino_t as in FFS.
Disk blocks are u_int32_t as well, because we don't support the 64BIT flag.
When we do, there's going to be a lot more going on than just daddr_t.

While there, add some journaling-related bits into the superblock to play with.

ok guenther
sys/ufs/ext2fs/ext2fs.h
sys/ufs/ext2fs/ext2fs_alloc.c
sys/ufs/ext2fs/ext2fs_balloc.c
sys/ufs/ext2fs/ext2fs_bmap.c
sys/ufs/ext2fs/ext2fs_bswap.c
sys/ufs/ext2fs/ext2fs_extern.h
sys/ufs/ufs/inode.h