Age | Commit message (Collapse) | Author |
|
references to the CACHE_ID field in the node.
|
|
|
|
references to the CACHE_ID field in the node.
Replace references to iget with diskfs_cached_lookup.
|
|
references to the CACHE_ID field in the corresponding node.
|
|
Renamed from iget; all uses updated.
Initialize the CACHE_ID field in the new node.
Replace references to the NUMBER field in a node's disknode structures with
references to the CACHE_ID field in the node.
|
|
Try to make the logic a bit simpler and more robust.
|
|
(diskfs_lookup_hard, diskfs_direnter, diskfs_dirremove_hard,
diskfs_dirrewrite_hard):
Renamed from versions without `_hard' suffix.
Get rid of stuff now done by diskfs.
|
|
|
|
|
|
|
|
argument any more.
|
|
directory size to account for the worst case difference between the ext2 and
canonical formats.
|
|
|
|
Use ext2_warning to print warnings instead of error().
|
|
(ext2fs_clean): New boolean variable.
(get_hypermetadata): Set it iff the clean bit is set on entry.
If not clean, complain and force read-only.
(diskfs_set_hypermetadata): Set clean bit only if ext2fs_clean is set.
(diskfs_readonly_changed): Complain if going writable and clean bit clear.
|
|
|
|
* 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.
|
|
beyond the allocsize and return EIO.
|
|
|
|
|
|
always be allocated, so don't.
(diskfs_grow, pager_unlock_page): Don't set last_block_allocated.
|
|
|
|
|
|
|
|
Don't include the terminating '\0' in on-disk directory entry names.
|
|
which indirect blocks still have to be written.
|
|
|
|
|
|
the dirstat to be ignored by drop_dirstat.
|
|
|
|
|
|
|
|
(create_disk_pager): Pass MAY_CACHE to disk_setup_pager.
|
|
|
|
|
|
|
|
Include hurd/diskfs-pager.h instead.
|
|
|
|
|
|
|
|
Only support these if the filesystem's creator-os is `hurd'.
(read_disknode):
Only check the i_translator field if the filesystem's creator-os is `hurd'.
|
|
(iget, read_disknode):
Code to set allocsize and the last_* fields moved from iget to read_disknode.
(read_disknode): Add DN and OFFSET variables.
Use log2_block_size to mask instead of doing a modulo with block_size.
(diskfs_node_norefs, iget): Use pager field, not fileinfo.
(iget): Use DISK_PAGER directly, not ->p.
(diskfs_lost_hardrefs): #ifdef'd out contents removed.
|
|
Don't use the p field in a upi.
(diskfs_get_filemap): Update/initialize the max_prot field. Add the prot arg.
(drop_pager_softrefs): Declare PAGER, not UPI.
(enable_caching): The disk node is upi->node, not upi->np.
(diskfs_get_filemap_pager_struct, flush_node_pager,
diskfs_file_update, pager_clear_user_data, drop_pager_softrefs):
Use pager field, not fileinfo.
(flush_node_pager): New function.
(create_disk_pager): Store the actual pager into DISK_PAGER.
(diskfs_shutdown_pager, diskfs_sync_everything):
Use DISK_PAGER directly, not ->p.
|
|
(pokel_sync): Use _pokel_exec to do the work.
|
|
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).
|
|
|
|
|
|
Offset the address to which we're doing i/o with DEVICE_START.
|
|
Replace fileinfo field with pager.
(force_delayed_copies): Give diskfs_get_filemap a protection arg.
|
|
(zeroblock, modified_global_blocks): Define (were common).
(diskfs_readonly_changed): New function.
(get_hypermetadata):
Deallocate ZEROBLOCK if necessary. Use allocate_mod_map to allocate
MODIFIED_GLOBAL_BLOCKS.
Use diskfs device functions & variables instead of our own.
|