Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
|
|
|
|
New declarations.
(zeroblock):
Change type to `void *'.
(sync_disk_blocks):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Do cast it to offer_data.
(diskfs_truncate):
Don't cast ZEROBLOCK to diskfs_node_rw.
(indir_release):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Use fields in STORE instead of DISKFS_DEVICE_* variables.
(pager_read_page, pager_write_page, pager_unlock_page):
Use store_{read,write} instead of diskfs_device_{read,write}_sync.
(create_disk_pager):
Create PAGER_BUCKET.
Use diskfs_start_disk_pager instead of disk_pager_setup.
(thread_function):
Function removed.
(disk_image):
New variable.
(create_disk_pager, diskfs_shutdown_pager, diskfs_sync_everything):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
|
|
Propagate our input to the first child parser.
(diskfs_append_args):
New function.
(diskfs_get_options):
Function removed.
(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.
(store, store_parsed, diskfs_disk_name):
New variables.
(main):
Remove CLASSES argument to store_parsed_open.
Use STORE_PARAMS variable to get result from parsing STORE_ARGP.
Don't force COMPAT_GNU on bootstrap filesystems (it's the default anyway).
Don't set DISKFS_USE_MACH_DEVICE (which is no longer).
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
Use fields in STORE instead of DISKFS_DEVICE_* variables.
<argp.h>, <hurd/store.h>:
New includes.
|
|
Variable ERR removed.
(diskfs_S_file_get_storage_info):
Narrow scope of RUN.
Coalesce adjacent blocks when constructing RUNS.
Set *PORTS_TYPE, not *STORAGE_PORT_TYPE.
Use fields in STORE instead of DISKFS_DEVICE_* variables.
Rewrite to use libstore functions (still has NDADDR block limit, though).
|
|
Change type to `void *'.
(diskfs_set_hypermetadata):
Use store_{read,write} instead of diskfs_device_{read,write}_sync.
(get_hypermetadata):
Cast ZEROBLOCK when vm_{de,}allocating.
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
(get_hypermetadata, diskfs_readonly_changed):
Use fields in STORE instead of DISKFS_DEVICE_* variables.
|
|
Initialize OLDSIZE to shut up gcc.
|
|
New variable.
|
|
|
|
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
|
|
Change to use new version format from the coding standards.
Test diskfs_extra_version against 0 too.
<argp.h>, <stdio.h>:
New includes.
|
|
Use diskfs_startup_argp, not diskfs_std_startup_argp.
(diskfs_use_mach_device, diskfs_device_arg, dev_startup_options,
dev_startup_argp_parents, diskfs_std_device_startup_argp):
Variables removed.
(diskfs_startup_argp):
Renamed from diskfs_std_startup_argp.
(parse_dev_startup_opt):
Function removed.
<hurd/store.h>:
New include.
|
|
Change --remount to --update (keep --remount as a deprecated alias).
<argp.h>:
New include.
|
|
Renamed from diskfs_get_options.
|
|
New include.
|
|
Use snprintf instead of sprintf.
<stdio.h>:
New include.
|
|
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
|
|
Free ARGZ if diskfs_append_args returns an error.
Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args
instead of diskfs_get_options.
|
|
Free ARGZ if diskfs_append_args returns an error.
Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args
instead of diskfs_get_options.
<argz.h>:
New include.
|
|
Renamed from diskfs_get_options.
(diskfs_disk_name):
New declaration.
(diskfs_store_startup_argp):
Renamed from diskfs_std_device_startup_argp.
(diskfs_device_arg, diskfs_use_mach_device, diskfs_device_open, diskfs_device,
diskfs_device_name, diskfs_device_start, diskfs_device_size,
diskfs_device_block_size, diskfs_log2_device_block_size,
diskfs_log2_device_blocks_per_page, diskfs_device_write_sync,
diskfs_device_read_sync):
Declarations removed.
(struct argp):
New (incomplete) declaration.
(diskfs_startup_argp):
Renamed from diskfs_std_startup_argp.
(diskfs_get_file_device, diskfs_get_mach_device):
Declarations removed.
<argp.h>:
Include removed.
|
|
Renamed from disk_pager.
(diskfs_start_disk_pager):
Renamed from disk_pager_setup.
Add PAGER_BUCKET, IMAGE, and SIZE arguments.
(disk_image, pager_bucket):
Declarations removed.
|
|
Get PAGER_BUCKET from argument.
(diskfs_disk_pager):
Renamed from disk_pager.
(pager_bucket):
Declaration removed.
(disk_image):
Variable removed.
(diskfs_start_disk_pager):
Renamed from setup_disk_pager.
Add PAGER_BUCKET, IMAGE, and SIZE arguments.
Pass in PAGER_BUCKET to thread routine, and don't create it.
|
|
Remove filedev.c, machdev.c, dev-open.c, dev-io.c, & dev-globals.c.
(HURDLIBS):
Add store.
(libdiskfs.so):
Depend on libstore.so.
|
|
Renamed from fsys_remount.
Use --update, not --remount.
|
|
|
|
New functions.
(zero_class):
Use them.
(store_zero_class):
Renamed from zero_class; export.
|
|
Renamed from ileave_class; export.
(store_concat_class):
Renamed from concat_class; export.
(ileave_decode, concat_decode):
Make CLASSES arg const.
|
|
Use new PARAMS var for passing args to STORE_ARGP.
|
|
Make CLASS arg const.
(_store_add_std_class):
Declaration removed.
(STORE_STD_CLASS):
Macro removed.
(struct store_argp_params):
New type.
(store_open):
Make NAME const.
(struct store_class):
Add OPEN and PARSE fields.
(struct store):
Make CLASS field const.
(store_parsed_open):
Remove CLASSES argument.
(struct store_class, struct store_argp_params, store_create, store_open,
store_decode, store_decode_children):
Change CLASSES args to be a pointer to a vector of class pointers.
|
|
Make an initialized array.
(_store_add_std_class):
Function removed.
|
|
Renamed from remap_class; export.
(remap_decode):
Make CLASSES arg const.
|
|
New variable.
(store_query_class):
Renamed from query_class; export.
(store_open):
Make NAME const.
|
|
Make CLASS arg const.
|
|
Change CLASSES to **.
|
|
Make CLASS arg const.
(store_file_class):
Renamed from file_class; export.
(store_file_byte_class):
Renamed from file_byte_class; export.
(file_class):
Point to it.
(fhile_open):
New function.
|
|
Make CLASS var const.
|
|
New function.
(store_device_class):
Renamed from dev_class; export.
(dev_class):
Point to it.
|
|
Change CLASSES to be a vector of class pointers.
|
|
Make CLASSES arg const.
|
|
Correctly check for non-default type.
(options, parse_opt):
Add --store-type/-T & (hidden) --machdev/-m options, remove --device/-d
option.
(find_class):
Change CLASSES to be a vector of class pointers.
(struct store_parsed):
Change CLASSES field to be a pointer to a vector of class pointers.
Make some fields const.
Rmove DEVICE field, add TYPE, DEFAULT_TYPE and CLASSES fields.
(store_parsed_free):
Free PARSED->type if it exists.
(store_parsed_append_args):
Use --store-type=... instead of --device.
(store_parsed_open):
Remove CLASSES argument.
When --store-type is specified, search CLASSES for that type, and call it's
open function.
|
|
|
|
Declaration removed.
(trivfs_append_args):
New declaration.
|
|
|
|
Initialize ARGZ with the program name, and call trivfs_append_args instead
of trivfs_get_options.
|
|
Initialize ARGZ with the program name, and call trivfs_append_args instead
of trivfs_get_options.
|