aboutsummaryrefslogtreecommitdiff
path: root/ext2fs
Commit message (Collapse)AuthorAgeFilesLines
...
* (diskfs_readonly_changed):Miles Bader1996-09-231-13/+8
| | | | | | | | Use STORE->size. (get_hypermetadata): Use STORE->size & STORE->block_size. <hurd/store.h>: New include.
* (sync_global_ptr):Miles Bader1996-09-231-11/+10
| | | | | | | | | | | | 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.
* (parse_opt):Miles Bader1996-09-231-75/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* *** empty log message ***Thomas Bushnell1996-09-172-1/+9
|
* *** empty log message ***Thomas Bushnell1996-09-062-3/+9
|
* .Miles Bader1996-08-301-0/+16
|
* (diskfs_cached_lookup): Initialize DN->dir_idx.Miles Bader1996-08-301-0/+1
|
* (struct disknode): New member `dir_idx'.Miles Bader1996-08-301-0/+3
|
* (diskfs_lookup_hard):Miles Bader1996-08-301-13/+42
| | | | | | | | | | | | | 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.
* .Miles Bader1996-08-291-0/+6
|
* (file_pager_read_page): Use get_page_buf to get a free page.Miles Bader1996-08-291-4/+48
| | | | (file_pager_read_page): Use free_page_buf to deallocate pages.
* (get_page_buf): Return 0 if we can't allocate.Miles Bader1996-08-291-1/+4
|
* .Miles Bader1996-08-151-0/+11
|
* (diskfs_truncate): Allow any sort of node to have a size without any blocksMiles Bader1996-08-151-3/+4
| | | | (as linux apparently does this sometimes with devices).
* (read_disknode): Change assertion to allow non-zero st_size for anything, butMiles Bader1996-08-151-2/+5
| | | | assert that st_blocks == 0 for any case where we set allocsize to 0.
* (diskfs_edit_version): Change to `1'.Miles Bader1996-08-151-1/+2
| | | | (diskfs_version_extra): New variable.
* .Miles Bader1996-08-151-0/+15
|
* (dino): Dont recalculate INODES_PER_BLOCK here.Miles Bader1996-08-151-1/+11
| | | | (ext2_debug): redefine macro after including ext2_fs.h.
* (get_hypermetadata):Miles Bader1996-08-151-1/+18
| | | | | Use EXT2_INODE_SIZE instead of sizeof (struct ext2_inode). Deal with various version 2.x features.
* (ext2_alloc_inode, diskfs_free_node):Miles Bader1996-08-151-2/+2
| | | | Pass SBLOCK as a parameter to EXT2_FIRST_INO (v2.x change).
* Update to version from linux-2.0.12.Miles Bader1996-08-151-50/+194
|
* (diskfs_minor_version): Change to `2'.Miles Bader1996-08-151-1/+1
|
* .Miles Bader1996-08-121-0/+17
|
* (u32, u16, u8, s32, s16, s8):Miles Bader1996-08-121-15/+15
| | | | All uses of these types changed to have a leading `__'.
* Rename uN/sN to __uN/__sN, and remove the definitions.Miles Bader1996-08-121-93/+86
|
* Move __uN/__sN typedefs here.Miles Bader1996-08-121-1/+11
|
* (diskfs_truncate): For in-inode symlinks, just frob the size.Miles Bader1996-08-121-0/+11
|
* (read_disknode): Don't set allocsize for in-inode symlinks.Miles Bader1996-08-121-9/+73
| | | | | | (MAX_INODE_SYMLINK): New macro. (write_symlink, read_symlink): New functions. (diskfs_create_symlink_hook, diskfs_read_symlink_hook): New variables.
* (diskfs_minor_version): Changed to `1'.Miles Bader1996-08-121-1/+1
|
* *** empty log message ***Thomas Bushnell1996-08-122-1/+8
|
* .Miles Bader1996-08-111-0/+6
|
* .Miles Bader1996-08-021-0/+8
|
* (ext2_debug_flag): New decl.Miles Bader1996-08-021-1/+2
| | | | (ext2_debug): Pay attention to EXT2_DEBUG_FLAG.
* [EXT2FS_DEBUG]Miles Bader1996-08-021-1/+77
| | | | | | | | | (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.
* (diskfs_grow): Fix ext2_debug format strings.Miles Bader1996-08-021-2/+2
|
* (trunc_direct): Fix ext2_debug call.Miles Bader1996-08-021-1/+1
|
* .Miles Bader1996-08-021-0/+10
|
* (diskfs_write_disknode):Miles Bader1996-08-021-2/+5
| | | | If WAIT is false, still record the write for later, using record_global_poke.
* .Miles Bader1996-07-201-0/+9
|
* (file_pager_read_page, file_pager_write_page, pager_unlock_page,Miles Bader1996-07-201-9/+0
| | | | diskfs_grow): Don't record debugging info.
* (diskfs_truncate): Don't record debugging info.Miles Bader1996-07-201-2/+0
|
* (diskfs_cached_lookup): Don't initialize debugging info.Miles Bader1996-07-201-4/+0
|
* (struct disknode): Remove debugging info.Miles Bader1996-07-201-19/+0
| | | | | | (RECORD_LAST): Function removed. (LAST_BUFSZ): Macro removed. (enum last_act): Type removed.
* .Miles Bader1996-07-201-0/+9
|
* (file_pager_read_page):Miles Bader1996-07-201-14/+21
| | | | | | | | Set NODE->dn->last_page_partially_writable if we return such a page. (diskfs_grow): Rename OLD_END_BLOCK to END_BLOCK. Correctly determine whether to set DN->last_page_partially_writable after allocating new blocks.
* .Miles Bader1996-07-191-0/+5
|
* (file_pager_read_page, file_pager_write_page):Miles Bader1996-07-191-2/+2
| | | | Pass NODE->dn, not &NODE->dn to RECORD_LAST.
* Initial revisionRoland McGrath1996-07-171-0/+547
|
* (diskfs_truncate): Likewise.Miles Bader1996-07-171-0/+2
|
* (diskfs_cached_lookup): Initialize debugging info.Miles Bader1996-07-171-0/+4
|