aboutsummaryrefslogtreecommitdiff
path: root/ext2fs
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath1999-05-231-0/+5
|
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-234-23/+23
| | | | | | | * ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning. * getblk.c (ext2_getblk): Likewise. * balloc.c (ext2_free_blocks): Likewise. * hyper.c (get_hypermetadata): Likewise.
* 1999-05-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-2/+2
| | | | * ext2fs.c (main): Include store size in panic msg when it's too small.
* .Roland McGrath1999-05-231-0/+9
|
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-8/+10
| | | | | * ialloc.c (diskfs_alloc_node): If creator_os is not EXT2_OS_HURD, suppress warnings about stale nonzero st_blocks or st_size.
* .Roland McGrath1999-01-241-0/+4
|
* 1999-01-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-241-35/+5
| | | | * ext2fs.c (main): Use diskfs_init_main.
* .Roland McGrath1998-12-271-0/+9
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-0/+4
| | | | | | | | * inode.c (diskfs_set_statfs): Remove __ from struct members. 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> * inode.c (diskfs_set_statfs): Fill in statfs members that are used to implement statvfs.
* .Roland McGrath1998-12-271-0/+5
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-1/+2
| | | | | * ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because diskfs options need it.
* .Roland McGrath1998-12-211-0/+7
|
* 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-212-15/+20
| | | | | * inode.c (diskfs_write_disknode): Add braces to silence warning. * pager.c (file_pager_read_page): Likewise.
* 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-211-1/+0
| | | | * storeinfo.c: Don't include <netinet/in.h>.
* .Roland McGrath1998-09-041-5/+19
|
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-041-3/+3
| | | | * pager.c: strings.h -> string.h; gets strerror decl.
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-042-103/+103
| | | | | | | | | * dir.c (dirscanblock): Fix defn with `const'. (diskfs_direnter_hard): Likewise. * inode.c (diskfs_create_symlink_hook): Likewise. (write_symlink): Likewise. * dir.c (diskfs_lookup_hard): Fix defn with `const'. * inode.c (diskfs_set_translator): Likewise.
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-041-2/+4
| | | | * ext2fs.c (main): Fix return type to int.
* Wed Aug 20 14:28:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-204-5/+38
| | | | | | | | | | | * dir.c (diskfs_lookup_hard): Cope with error return from diskfs_get_filemap. (diskfs_dirempty): Cope (poorly) with error return from diskfs_get_filemap. * truncate.c (force_delayed_copies): Likewise. * pager.c (diskfs_get_filemap): If pager_create fails, return error to caller.
* Mon Jun 30 17:34:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-302-1/+9
| | | | | | * ext2fs.c (diskfs_readonly): Delete variable definition. (main): If the store cannot be made writable, then set diskfs_hard_readonly and diskfs_readonly.
* .Miles Bader1997-06-201-0/+5
|
* (disk_pager_read_page):Miles Bader1997-06-201-2/+2
| | | | Initialize READ to 0 to force store_read to allocate a buffer.
* .Miles Bader1997-06-191-0/+4
|
* (main):Miles Bader1997-06-191-4/+1
| | | | Get rid of device-block-size-is-power-of-2 check.
* .Miles Bader1997-06-031-0/+5
|
* (read_node):Miles Bader1997-06-031-5/+2
| | | | Don't assert that st_blocks is zero for non-dir/file/long-symlink inodes.
* .Miles Bader1996-11-201-0/+5
|
* (read_node):Miles Bader1996-11-201-2/+3
| | | | If SBLOCK->s_creator_os != EXT2_OS_HURD, set NP->author_tracks_uid to true.
* .Miles Bader1996-11-191-0/+10
|
* (diskfs_set_translator):Miles Bader1996-11-191-8/+11
| | | | | | | | | Frob S_IPTRANS bit rather than istranslated field. (write_node): Don't write S_IPTRANS to disk. (read_node): Set S_IPTRANS bit in ST->st_mode (and clear S_ITRANS) rather than NP->istranslated.
* (diskfs_alloc_node):Miles Bader1996-11-191-1/+1
| | | | Clear S_IPTRANS bit in ST->st_mode instead of NP->istranslated.
* Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-182-1/+6
| | | | | * storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> idvec_contains.
* .Miles Bader1996-11-121-0/+12
|
* (diskfs_validate_flags_change):Miles Bader1996-11-121-7/+48
| | | | | | | | | | | | | | | 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.
* .Miles Bader1996-10-241-0/+7
|
* (startup_children, runtime_children):Miles Bader1996-10-241-4/+6
| | | | | | | | New variables. (startup_parents, runtime_parents): Variables removed. (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
* .Miles Bader1996-10-091-0/+11
|
* (diskfs_S_file_get_storage_info):Miles Bader1996-10-091-4/+13
| | | | | | 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.
* .Miles Bader1996-10-081-0/+9
|
* (diskfs_S_file_get_storage_info):Miles Bader1996-10-081-0/+8
| | | | Add security check, and deactivate FILE_STORE if necessary.
* .Miles Bader1996-09-301-0/+4
|
* (diskfs_S_file_get_storage_info):Miles Bader1996-09-301-0/+1
| | | | Set *PORTS_TYPE.
* .Miles Bader1996-09-232-4/+99
|
* (HURDLIBS): Add store.Miles Bader1996-09-231-2/+1
|
* (diskfs_S_file_get_storage_info):Miles Bader1996-09-231-124/+63
| | | | | Clone STORE before remapping it. Rewritten to use store functions.
* (file_pager_read_page, pending_blocks_write, disk_pager_read_page,Miles Bader1996-09-231-83/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (read_disknode):Miles Bader1996-09-231-1/+1
| | | | Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
* (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.