Age | Commit message (Collapse) | Author |
|
* ext2fs.h (test_bit, set_bit, clear_bit): Rewritten to operate on
32-bit words instead of bytes.
* 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.
|
|
* ext2fs.h (SBLOCK_LBLOCK): New macro, filesystem block number of sb.
(BLOCKSIZE_SCALE): New macro for converting min-blocks to fs blocks.
(group_desc): Fix calculation of offset from superblock, so it works
properly with block_size != EXT2_MIN_BLOCK_SIZE.
* ext2fs.h (EXT2FS_EI): New macro, use it for all extern inlines.
|
|
* bitmap.c (count_free, find_next_zero_bit, find_first_zero_bit):
Make these all static inline.
(ffz, ffz_nibble_map): Function and variable removed.
(ffz): Replace decl with macro defined in terms of ffs.
* ext2fs.h (count_free, find_next_zero_bit, find_first_zero_bit, ffz):
Remove these declarations.
* Makefile (SRCS): Remove bitmap.c.
(LCLHDRS): Add bitmap.c here instead.
* balloc.c, ialloc.c: #include "bitmap.c" here.
|
|
* bitmap.c (memscan): Function removed.
* ext2fs.h: Removed its decl.
* balloc.c (memscan): New static function, defined using memchr.
|
|
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions.
* ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
|
|
* ext2fs.h: Add #include <sys/mman.h> for munmap decl.
|
|
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
(store):
New declaration.
(disk_image):
New declaration.
(get_page_buf, free_page_buf):
Declarations removed.
(store_parsed, store_name):
New declarations.
|
|
|
|
(ext2_debug): redefine macro after including ext2_fs.h.
|
|
|
|
(RECORD_LAST): Function removed.
(LAST_BUFSZ): Macro removed.
(enum last_act): Type removed.
|
|
(RECORD_LAST): New function.
(LAST_BUFSZ): New macro.
(enum last_act): New type.
|
|
Renamed from sync_global_data.
Add WAIT flag.
Don't call diskfs_set_hypermetadata.
(alloc_sync): Call diskfs_set_hypermetadata instead of sync_global_data.
(sync_super_block): Function removed.
|
|
|
|
references to the CACHE_ID field in the corresponding node.
|
|
|
|
* hyper.c (get_hypermetadata): Don't return any error value, just
panic if we can't read the superblock.
* ext2fs.c (main): Move warp_inode() inline. Make sure root inode
is really there. Don't check return value from get_hypermetadata.
(warp_inode): Function removed.
* ext2fs.h (get_hypermetadata): Returns void now.
|
|
|
|
|
|
|
|
Include hurd/diskfs-pager.h instead.
|
|
(struct disknode): Replace fileinfo field with pager.
(pokel_flush, flush_node_pager): New declarations.
(disk_pager): Type changed to struct pager.
(sync_global_ptr): Use DISK_PAGER, not DISK_PAGER->p.
(device_arg, device_name, device_port, device_start,
device_size, device_block_size): Declarations removed.
(MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_SYNCHRONOUS, MS_REMOUNT,
S_APPEND, S_IMMUTABLE, IS_APPEND, IS_IMMUTABLE): Macros deleted.
|
|
|
|
|
|
macros that automagically supply the caller's function name, and rename the
original functions (which these macros call) to have an underline prefix.
Get rid of the CHECK_STRICT variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|