Age | Commit message (Collapse) | Author |
|
* main.c (main): If the store cannot be made writable, then set
diskfs_hard_readonly and diskfs_readonly.
|
|
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
|
|
New variable.
(main):
Only require device-block-size to be <= DEV_BSIZE.
Get rid of device-block-size-is-power-of-2 check.
Set LOG2_DEV_BLOCKS_PER_BSIZE.
Exit with an error if the disk is too small rather than assert failing.
|
|
New declaration.
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
Adjust device addresses for possible differences between DEV_BSIZE & device
block size.
|
|
|
|
|
|
Pass new DEPTH argument to diskfs_make_peropen.
|
|
|
|
If SBLOCK->fs_inodefmt < FS_44INODEFMT, set ST->st_author to st->st_uid,
and NP->author_tracks_uid to true.
(diskfs_validate_author_change):
New function.
|
|
|
|
Frob S_IPTRANS bit in mode bits instead of NP->istranslated.
(write_node):
Don't write any bits in S_ITRANS to disk.
(read_disknode):
When setting ST->st_mode, Clear S_ITRANS bits, and set S_IPTRANS if
necessary.
Don't set NP->istranslated anymore.
|
|
Use S_IPTRANS in NP->dn_stat.st_mode instead of NP->istranslated.
|
|
* inode.c (diskfs_S_fsys_getfile): Delete var `fakecred'.
diskfs_access -> fshelp_access.
* alloc.c (ffs_alloc): diskfs_isuid -> idvec_contains.
(ffs_realloccg): Likewise.
Thu Nov 14 16:43:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* inode.c (diskfs_S_file_getfh): diskfs_isuid -> idvec_contains.
(diskfs_S_fsys_getfile): Use idvecs and iousers.
|
|
|
|
New variables.
(startup_parents, runtime_parents):
Variables removed.
(startup_argp, runtime_argp):
Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
`struct timespec' now uses a field prefix of `tv_'.
|
|
|
|
|
|
|
|
symlinks.
|
|
symlink.
|
|
(startup_parents, runtime_parents): Declare const.
|
|
|
|
diskfs_readonly.
(diskfs_dirempty): Likewise.
|
|
(read_symlink_hook): Likewise.
|
|
(diskfs_grow): Likewise.
|
|
the clean bit on disk. Always call sync_disk (with appropriate
WAIT).
(diskfs_readonly_changed): Don't do set_hypermetadata here.
(copy_sblock): Don't track clean state here.
|
|
instead.
|
|
|
|
|