Age | Commit message (Collapse) | Author |
|
* ext2fs.c (main): Use diskfs_init_main.
|
|
* ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
* ext2fs.c (main): Fix return type to int.
|
|
* ext2fs.c (diskfs_readonly): Delete variable definition.
(main): If the store cannot be made writable, then set
diskfs_hard_readonly and diskfs_readonly.
|
|
Get rid of device-block-size-is-power-of-2 check.
|
|
New variables.
(startup_parents, runtime_parents):
Variables removed.
(startup_argp, runtime_argp):
Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
|
|
Propagate our input to the first child argp.
(diskfs_disk_name):
Renamed from STORE_NAME.
(diskfs_append_args):
Renamed from diskfs_get_options.
Don't initialize *ARGZ & *ARGZ_LEN anymore, or deallocate on errors.
Append store args too.
(startup_parents, startup_argp, runtime_parents, runtime_argp, options,
parse_opt, diskfs_get_options):
Define always, not just when EXT2FS_DEBUG is defined.
(free_page_bufs, free_page_bufs_lock):
Variables removed.
(store, store_parsed, store_name):
New variables.
(diskfs_extra_version):
Put `GNU Hurd' in here.
(main, diskfs_reload_global_state):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
(startup_parents):
Use diskfs_store_startup_argp instead of diskfs_std_device_startup_argp.
(main):
Remove CLASSES argument to store_parsed_open.
Use STORE_PARAMS variable to get result from parsing STORE_ARGP.
Change store_parsed_get_name to store_parsed_name.
Use store fields instead of diskfs variables.
(parse_opt, diskfs_get_options):
Guard debug-specific bits with #ifdef EXT2FS_DEBUG.
(get_page_buf, free_page_buf):
Functions removed.
<argp.h>, <hurd/store.h>:
New includes.
|
|
|
|
|
|
(diskfs_version_extra): New variable.
|
|
|
|
|
|
(options, ext2_debug_flag): New variables.
(parse_opt, diskfs_get_options): New functions.
(startup_parents, startup_argp, runtime_parents, diskfs_runtime_argp):
New variables.
[!EXT2FS_DEBUG] (startup_argp): New macro.
(main): Use STARTUP_ARGP instead of DISKFS_STD_DEVICE_STARTUP_ARGP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
Always include VM_PROT_WRITE in max prot.
Use DISK_PAGER directly, not ->p.
Use diskfs routines to open the device.
Support both file and mach devices. Move the parse function here.
Use argp for parsing.
(usage, USAGE, SHORT_OPTS, long_opts, console_stdio): Removed
(parse_opt): Move into main (as a nested function).
(printf, _ext2_error, _ext2_panic, _ext2_warning): Functions moved to msg.c
(diskfs_init_completed): Func deleted (now in libdiskfs).
|
|
|
|
do the work.
(thread_cancel): Dummy function.
|
|
options parsing.
Rename `options' to `long_opts'. Most things removed, as they're now handled
by libdiskfs.
Add parse_opt to deal with our few meagre remaining options in the approved
options_parse manner.
|
|
|
|
initial sync interval.
|
|
(the previous names are now macros that call the renamed functions). Also
rearrange a bit to hold the lock around the use of the global message buffer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|