Age | Commit message (Collapse) | Author |
|
Free NEWPI if we get an error trying to lock it.
|
|
|
|
Frob lock in NEWPI->po, not PO.
<sys/file.h>:
New include.
|
|
|
|
|
|
|
|
Before freeing PO, release any user lock it's holding.
<sys/file.h>:
New include.
|
|
|
|
Return ENOTDIR if NP isn't a dir.
|
|
|
|
Follow version string with newline.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
(_print_version):
Use DISKFS_EXTRA_VERSION. Tweak edit version. Fix type of EV.
|
|
|
|
fshelp_get_identity.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
created a reference. Just unlock. (And bother to lock it in the
first place.)
|
|
|
|
|
|
|
|
Don't sync if DISKFS_READONLY.
Clean up after ourselves.
|
|
|
|
|
|
|
|
|
|
Unlock NP before we attempt to do setuid/setgid (which otherwise can
deadlock during port reauth).
Pay attention to the error code returned by fshelp_exec_reauth, and don't
make NEWPI if it's an error.
Initialize ERR.
|