summaryrefslogtreecommitdiff
path: root/ext2fs
AgeCommit message (Collapse)Author
1996-11-12.Miles Bader
1996-11-12(diskfs_validate_flags_change):Miles Bader
New function. (write_node): Convert generic flags in ST->st_flags to ext2- specific flags in DI->i_flags. (read_node): Renamed from read_disknode; all callers changed. Convert ext2-specific flags on disk to generic flags in ST. [!UF_APPEND] (UF_APPEND): New macro (temporary). [!UF_NODUMP] (UF_NODUMP): New macro (temporary). [!UF_IMMUTABLE] (UF_IMMUTABLE): New macro (temporary). <sys/stat.h>: New include.
1996-10-24.Miles Bader
1996-10-24(startup_children, runtime_children):Miles Bader
New variables. (startup_parents, runtime_parents): Variables removed. (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
1996-10-09.Miles Bader
1996-10-09(diskfs_S_file_get_storage_info):Miles Bader
If st_size indicates a lower value for NUM_FS_BLOCK, use it instead of the value derived from st_blocks. Return ports with MACH_MSG_TYPE_COPY_SEND, not MACH_MSG_TYPE_MAKE_SEND.
1996-10-08.Miles Bader
1996-10-08(diskfs_S_file_get_storage_info):Miles Bader
Add security check, and deactivate FILE_STORE if necessary.
1996-09-30.Miles Bader
1996-09-30(diskfs_S_file_get_storage_info):Miles Bader
Set *PORTS_TYPE.
1996-09-23.Miles Bader
1996-09-23(HURDLIBS): Add store.Miles Bader
1996-09-23(diskfs_S_file_get_storage_info):Miles Bader
Clone STORE before remapping it. Rewritten to use store functions.
1996-09-23(file_pager_read_page, pending_blocks_write, disk_pager_read_page,Miles Bader
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.
1996-09-23(read_disknode):Miles Bader
Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
1996-09-23(diskfs_readonly_changed):Miles Bader
Use STORE->size. (get_hypermetadata): Use STORE->size & STORE->block_size. <hurd/store.h>: New include.
1996-09-23(sync_global_ptr):Miles Bader
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.
1996-09-23(parse_opt):Miles Bader
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.
1996-09-17*** empty log message ***Thomas Bushnell
1996-09-06*** empty log message ***Thomas Bushnell
1996-08-30.Miles Bader
1996-08-30(diskfs_cached_lookup): Initialize DN->dir_idx.Miles Bader
1996-08-30(struct disknode): New member `dir_idx'.Miles Bader
1996-08-30(diskfs_lookup_hard):Miles Bader
When setting ds->stat to EXTEND, set ds->idx by looking at the size of the file. After successful dirscanblock, record index where we finished in DP->dn->dir_idx. Start searches at that index. (dirscanblock): Size dirents correctly when mallocing it. (diskfs_direnter_hard): Be more careful when sizing or resizing dirents. Correctly set to -1 all the new entries we create after realloc call. (diskfs_direnter_hard): Initialize OLDSIZE to quiet gcc.
1996-08-29.Miles Bader
1996-08-29(file_pager_read_page): Use get_page_buf to get a free page.Miles Bader
(file_pager_read_page): Use free_page_buf to deallocate pages.
1996-08-29(get_page_buf): Return 0 if we can't allocate.Miles Bader
1996-08-15.Miles Bader
1996-08-15(diskfs_truncate): Allow any sort of node to have a size without any blocksMiles Bader
(as linux apparently does this sometimes with devices).
1996-08-15(read_disknode): Change assertion to allow non-zero st_size for anything, butMiles Bader
assert that st_blocks == 0 for any case where we set allocsize to 0.
1996-08-15(diskfs_edit_version): Change to `1'.Miles Bader
(diskfs_version_extra): New variable.
1996-08-15.Miles Bader
1996-08-15(dino): Dont recalculate INODES_PER_BLOCK here.Miles Bader
(ext2_debug): redefine macro after including ext2_fs.h.
1996-08-15(get_hypermetadata):Miles Bader
Use EXT2_INODE_SIZE instead of sizeof (struct ext2_inode). Deal with various version 2.x features.
1996-08-15(ext2_alloc_inode, diskfs_free_node):Miles Bader
Pass SBLOCK as a parameter to EXT2_FIRST_INO (v2.x change).
1996-08-15Update to version from linux-2.0.12.Miles Bader
1996-08-15(diskfs_minor_version): Change to `2'.Miles Bader
1996-08-12.Miles Bader
1996-08-12(u32, u16, u8, s32, s16, s8):Miles Bader
All uses of these types changed to have a leading `__'.
1996-08-12Rename uN/sN to __uN/__sN, and remove the definitions.Miles Bader
1996-08-12Move __uN/__sN typedefs here.Miles Bader
1996-08-12(diskfs_truncate): For in-inode symlinks, just frob the size.Miles Bader
1996-08-12(read_disknode): Don't set allocsize for in-inode symlinks.Miles Bader
(MAX_INODE_SYMLINK): New macro. (write_symlink, read_symlink): New functions. (diskfs_create_symlink_hook, diskfs_read_symlink_hook): New variables.
1996-08-12(diskfs_minor_version): Changed to `1'.Miles Bader
1996-08-12*** empty log message ***Thomas Bushnell
1996-08-11.Miles Bader
1996-08-02.Miles Bader
1996-08-02(ext2_debug_flag): New decl.Miles Bader
(ext2_debug): Pay attention to EXT2_DEBUG_FLAG.
1996-08-02[EXT2FS_DEBUG]Miles Bader
(options, ext2_debug_flag): New variables. (parse_opt, diskfs_get_options): New functions. (startup_parents, startup_argp, runtime_parents, diskfs_runtime_argp): New variables. [!EXT2FS_DEBUG] (startup_argp): New macro. (main): Use STARTUP_ARGP instead of DISKFS_STD_DEVICE_STARTUP_ARGP.
1996-08-02(diskfs_grow): Fix ext2_debug format strings.Miles Bader