]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ext2fs: general cleanup.
authorpfg <pfg@FreeBSD.org>
Sat, 2 Feb 2013 22:23:45 +0000 (22:23 +0000)
committerpfg <pfg@FreeBSD.org>
Sat, 2 Feb 2013 22:23:45 +0000 (22:23 +0000)
commite94b41487b15810ca86ef4cf9a1cacddd428846d
treefae557b6c70ee080d74d079cff333d22b4435bb8
parentfb83414a6ee4316b1c8a79da870c9c6e453535a6
ext2fs: general cleanup.

- Remove unused extern declarations in fs.h
- Correct comments in ext2_dir.h
- Several panic() messages showed wrong function names.
- Remove commented out stray line in ext2_alloc.c.
- Remove the unused macro EXT2_BLOCK_SIZE_BITS() and the then
  write-only member e2fs_blocksize_bits from struct m_ext2fs.
- Remove the unused macro EXT2_FIRST_INO() and the then write-only
  member e2fs_first_inode from struct m_ext2fs.
- Remove EXT2_DESC_PER_BLOCK() and the member e2fs_descpb from
  struct m_ext2fs.
- Remove the unused members e2fs_bmask, e2fs_dbpg and
  e2fs_mount_opt from struct m_ext2fs
- Correct harmless off-by-one error for fspath in ext2_vfsops.c.
- Remove the unused and broken macros EXT2_ADDR_PER_BLOCK_BITS()
  and EXT2_DESC_PER_BLOCK_BITS().
- Remove the !_KERNEL versions of the EXT2_* macros.

Submitted by: Christoph Mallon
MFC after: 2 weeks
sys/fs/ext2fs/ext2_alloc.c
sys/fs/ext2fs/ext2_dir.h
sys/fs/ext2fs/ext2_inode.c
sys/fs/ext2fs/ext2_lookup.c
sys/fs/ext2fs/ext2_vfsops.c
sys/fs/ext2fs/ext2fs.h
sys/fs/ext2fs/fs.h