summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-06-03 13:25:50 +0000
committerstas <stas@FreeBSD.org>2009-06-03 13:25:50 +0000
commitd6b21c236cf40e78801e968ce969484b4c7bb7c5 (patch)
treefe0d707358b0746653ebd04634b32121b093d58a /include
parent7f32f3f2a110cb1bf2681c657d5f47053e23f6c5 (diff)
downloadFreeBSD-src-d6b21c236cf40e78801e968ce969484b4c7bb7c5.zip
FreeBSD-src-d6b21c236cf40e78801e968ce969484b4c7bb7c5.tar.gz
- Sync our copies of ext2fs Linux headers to current Linux versions.
Minimize differencies between our ext2fs headers and relevant Linux versions by using EXT2_SB macro to access the superblock fields. Most of the differencies in access to these fields are now hidden inside this macro. - Rename the s_db_per_group field of ext2fs_sb_info to s_gdb_count to reflect the similar change in Linux headers. New name also seem to be more appropriate for this field. - Use proper types for s_first_inode and s_inode_size in-core superblock fields. Now they reflec types used in the on-disk superblock version. - Add support for older filesystem revisions that doesn't have proper s_first_ino and s_inode_size fields in the on-disk superblock. In these cases predefined values for these fields are used. - Add simple sanity checks for s_first_inode and s_inode_size correctness. Reviewed by: bde (previous version) MFC after: 2 weeks
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud