Date: Wed, 3 Jun 2009 13:25:50 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/gnu/fs/ext2fs ext2_fs.h ext2_fs_sb.h ext2_lookup.c ext2_vfsops.c ext2_vnops.c Message-ID: <200906031326.n53DQ1mk055583@repoman.freebsd.org>
index | next in thread | raw e-mail
stas 2009-06-03 13:25:50 UTC
FreeBSD src repository
Modified files:
sys/gnu/fs/ext2fs ext2_fs.h ext2_fs_sb.h ext2_lookup.c
ext2_vfsops.c ext2_vnops.c
Log:
SVN rev 193377 on 2009-06-03 13:25:50Z by stas
- 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
Revision Changes Path
1.17 +40 -48 src/sys/gnu/fs/ext2fs/ext2_fs.h
1.8 +7 -6 src/sys/gnu/fs/ext2fs/ext2_fs_sb.h
1.56 +3 -2 src/sys/gnu/fs/ext2fs/ext2_lookup.c
1.181 +23 -10 src/sys/gnu/fs/ext2fs/ext2_vfsops.c
1.118 +2 -1 src/sys/gnu/fs/ext2fs/ext2_vnops.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906031326.n53DQ1mk055583>
