diff options
author | Roland McGrath <roland@gnu.org> | 1999-10-03 10:23:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-10-03 10:23:12 +0000 |
commit | c3f65c1f4035ef6c669426c1749c9e387ec7469a (patch) | |
tree | 0dee6ad7932af1dd4d4a0c6451632cd568b70830 /ext2fs/dir.c | |
parent | c3bcb575fa088392a48e5febd519f36e406eaf7a (diff) |
1999-10-03 Roland McGrath <roland@baalperazim.frob.com>
* ext2fs.h (group_desc): Inline function replaced with macro.
(group_desc_image): New variable.
* hyper.c (get_hypermetadata): Initialize it.
* ext2fs.h (sblock_block): Declare new variable.
(SBLOCK_LBLOCK): Macro removed.
(SBLOCK_OFFS): Define in terms of sblock_block.
* ext2fs.c (options): Add --sblock/-S.
(parse_opt): Parse it to set sblock_block.
* hyper.c (sblock_block): New variable.
(get_hypermetadata): Use sblock_block instead of constant SBLOCK_BLOCK.
* hyper.c (get_hypermetadata): Use EXT2_MAX_BLOCK_SIZE instead of
hard-wired 8192. Don't use ffs to compute log2_block_size, and don't
check for the impossible case of non-power-of-two block size (the
block size specification we start with is given as a power of two!).
* ext2fs.h (block_size): Change type to unsigned int.
(BLOCKSIZE_SCALE): Just use SBLOCK->s_log_block_size directly.
* hyper.c (get_hypermetadata): Fix printf formats to silence warning.
* dir.c (dirscanblock): Likewise.
Diffstat (limited to 'ext2fs/dir.c')
0 files changed, 0 insertions, 0 deletions