Age | Commit message (Collapse) | Author |
|
Cast BUF into void ** for dev_read.
|
|
Use void * buffers.
|
|
Use void * buffers.
|
|
Use void * buffers.
|
|
Remove CLASSES argument to store_parsed_open.
(dev_buf_fill, dev_read, dev_write):
Use void * buffers.
|
|
|
|
New macro.
(STANDARD_HURD_VERSION):
Change to use new format.
Add EXTRA tail arg.
|
|
|
|
New variable.
|
|
Remove devio.
|
|
Variable removed.
(netfs_append_args):
Renamed from netfs_get_options.
Don't initialize ARGZ & ARGZ_LEN anymore.
Add remote filesystem spec to output.
(main):
Don't use HOLD anymore.
|
|
|
|
New include.
|
|
Declaration removed.
(netfs_append_args):
New declaration.
<argp.h>:
Include removed.
|
|
|
|
Initialize ARGZ with the program name, and call netfs_append_args instead of
netfs_get_options.
|
|
New include.
|
|
Initialize ARGZ with the program name, and call netfs_append_args instead of
netfs_get_options.
|
|
Doc fix.
|
|
|
|
Replace get-options.c with append-args.c
|
|
|
|
Add $(LIBCRYPT).
|
|
|
|
|
|
Clone STORE before remapping it.
Rewritten to use store functions.
|
|
disk_pager_read_page, disk_pager_write_page, pager_report_extent,
find_block, pager_unlock_page, diskfs_grow):
Use store_ operations instead of the old device ones, and some store
fields instead of globals.
(file_pager_read_page):
Make BUF void **, NEW_BUF void *, and LENGTH size_t.
Pass &LENGTH to store_read, not LENGTH.
(free_page_bufs, free_page_bufs_lock):
New variables.
(create_disk_pager):
Create PAGER_BUCKET.
Pass in new args to diskfs_pager_setup (renamed from disk_pager_setup).
(service_paging_request):
Function removed.
(struct pending_blocks):
Make BUF void *.
(disk_pager_write_page):
Make BUF void *, and LENGTH size_t.
Check amount written, and return EIO if it's wrong.
(disk_image):
New variable.
(get_page_buf, free_page_buf):
New functions.
(disk_pager_read_page):
Make BUF void **, and LENGTH size_t.
Check amount read, and return EIO if it's wrong.
(file_pager_write_pager):
Make BUF void *.
(diskfs_shutdown_pager):
Use DISKFS_DISK_PAGER instead of DISK_PAGER.
(pager_read_page, pager_read_page):
Convert BUF to a pointer when calling work functions.
(file_pager_read_page:do_pending_reads, pager_unlock_page,
pending_blocks_write, diskfs_grow, find_block):
Use filesystem blocks, not device blocks, in block<->offset/size
conversions.
(pending_blocks_write):
Make PAGE_BUF void *, and LENGTH size_t.
Check amount written, and return EIO if it's wrong.
<hurd/store.h>:
New include.
|
|
Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
|
|
Use STORE->size.
(get_hypermetadata):
Use STORE->size & STORE->block_size.
<hurd/store.h>:
New include.
|
|
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.
|