Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (diskfs_write_disknode): Only sync DI if WAIT. | Miles Bader | 1996-04-17 | 1 | -2/+2 |
| | |||||
* | (diskfs_lookup_hard): Set atime appropriately, and sync the new atime if we | Miles Bader | 1996-04-17 | 1 | -15/+36 |
| | | | | | | | | are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise. | ||||
* | Replace references to the NUMBER field in a node's disknode structures with | Miles Bader | 1996-04-11 | 4 | -15/+15 |
| | | | | references to the CACHE_ID field in the node. | ||||
* | Replace references to iget with diskfs_cached_lookup. | Miles Bader | 1996-04-11 | 1 | -1/+1 |
| | |||||
* | Replace references to the NUMBER field in a node's disknode structures with | Miles Bader | 1996-04-11 | 1 | -16/+16 |
| | | | | | references to the CACHE_ID field in the node. Replace references to iget with diskfs_cached_lookup. | ||||
* | (struct disknode): Get rid of NUMBER field; all references replaced by | Miles Bader | 1996-04-11 | 1 | -7/+0 |
| | | | | references to the CACHE_ID field in the corresponding node. | ||||
* | (diskfs_cached_lookup): | Miles Bader | 1996-04-11 | 1 | -15/+25 |
| | | | | | | | 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. | ||||
* | (pager_unlock_page, diskfs_grow): | Miles Bader | 1996-03-29 | 1 | -66/+79 |
| | | | | Try to make the logic a bit simpler and more robust. | ||||
* | (diskfs_null_dirstat): New function. | Miles Bader | 1996-03-29 | 1 | -38/+14 |
| | | | | | | | (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. | ||||
* | (main): Pass new argument to argp_parse. | Miles Bader | 1996-03-29 | 1 | -1/+1 |
| | |||||
* | (main): Check error return from diskfs_init_diskfs. | Miles Bader | 1996-02-17 | 1 | -1/+3 |
| | |||||
* | (ext2_warning): Make a declaration, not a macro. | Miles Bader | 1996-02-06 | 1 | -5/+4 |
| | |||||
* | (ext2_warning): Rename from _ext2_warning; don't take (or print) a function | Miles Bader | 1996-02-06 | 1 | -3/+2 |
| | | | | argument any more. | ||||
* | (diskfs_get_directs): When BUFSIZ is 0, allocate enough extra space over the | Miles Bader | 1996-02-06 | 1 | -4/+39 |
| | | | | | directory size to account for the worst case difference between the ext2 and canonical formats. | ||||
* | (_ext2_warning): Include `warning:' in message. | Miles Bader | 1996-02-03 | 1 | -2/+2 |
| | |||||
* | (get_hypermetadata, diskfs_readonly_changed): | Miles Bader | 1996-02-03 | 1 | -8/+3 |
| | | | | Use ext2_warning to print warnings instead of error(). | ||||
* | Fixed handling of the filesystem `clean bit'. | Roland McGrath | 1996-02-03 | 1 | -20/+45 |
| | | | | | | | | (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. | ||||
* | Include string.h for strerror decl. | Roland McGrath | 1996-02-03 | 1 | -1/+2 |
| | |||||
* | Tue Jan 30 22:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu> | Miles Bader | 1996-02-03 | 3 | -26/+12 |
| | | | | | | | | | * 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. | ||||
* | (file_pager_read_page, file_pager_write_page): Check for a page offset | Roland McGrath | 1996-01-30 | 1 | -3/+13 |
| | | | | beyond the allocsize and return EIO. | ||||
* | (LDFLAGS): Add -static. | Miles Bader | 1996-01-18 | 1 | -0/+2 |
| | |||||
* | (diskfs_S_file_get_storage_info): Calculate the right value for *RUNS_LEN. | Miles Bader | 1996-01-18 | 1 | -2/+2 |
| | |||||
* | (diskfs_file_update): Ext2fs doesn't require that the last block in the file | Miles Bader | 1996-01-18 | 1 | -37/+26 |
| | | | | | always be allocated, so don't. (diskfs_grow, pager_unlock_page): Don't set last_block_allocated. | ||||
* | (struct disknode): Get rid of last_block_allocated field. | Miles Bader | 1996-01-18 | 1 | -6/+0 |
| | |||||
* | (read_disknode): Don't set last_block_allocated. | Miles Bader | 1996-01-18 | 1 | -1/+0 |
| | |||||
* | (diskfs_truncate): Don't set last_block_allocated. | Miles Bader | 1996-01-18 | 1 | -3/+2 |
| | |||||
* | (diskfs_direnter): | Miles Bader | 1996-01-15 | 1 | -4/+4 |
| | | | | Don't include the terminating '\0' in on-disk directory entry names. | ||||
* | (diskfs_node_norefs): When losing our in-core copy of an inode, remember | Miles Bader | 1996-01-15 | 1 | -0/+4 |
| | | | | which indirect blocks still have to be written. | ||||
* | (pokel_inherit, pokel_finalize): New declarations. | Miles Bader | 1996-01-15 | 1 | -0/+5 |
| | |||||
* | (pokel_inherit, pokel_finalize): New functions. | Miles Bader | 1996-01-15 | 1 | -2/+49 |
| | |||||
* | (diskfs_lookup): Patch from ufs/dir.c: If we are returning an error, then set | Miles Bader | 1996-01-15 | 1 | -1/+5 |
| | | | | the dirstat to be ignored by drop_dirstat. | ||||
* | (diskfs_alloc_node): Set NP->istranslated to 0. | Miles Bader | 1996-01-14 | 1 | -0/+1 |
| | |||||
* | (write_node): If NP isn't translated, force DI->i_translator to 0. | Miles Bader | 1996-01-14 | 1 | -0/+2 |
| | |||||
* | (inode_getblk, block_getblk): Set dn_set_mtime too. | Miles Bader | 1996-01-14 | 1 | -2/+2 |
| | |||||
* | (pager_bucket): Made global. | Roland McGrath | 1996-01-06 | 1 | -2/+2 |
| | | | | (create_disk_pager): Pass MAY_CACHE to disk_setup_pager. | ||||
* | (main): Don't map in disk image here; create_disk_pager now does it. | Roland McGrath | 1996-01-06 | 1 | -16/+3 |
| | |||||
* | Declare create_disk_pager. | Roland McGrath | 1996-01-05 | 1 | -0/+3 |
| | |||||
* | (create_disk_pager): Use disk_pager_setup. | Roland McGrath | 1996-01-04 | 1 | -37/+26 |
| | |||||
* | (disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed. | Roland McGrath | 1996-01-04 | 1 | -12/+7 |
| | | | | Include hurd/diskfs-pager.h instead. | ||||
* | (dirscanblock): Apply mib's changes to ufs/dir.c. | Miles Bader | 1995-11-21 | 1 | -16/+42 |
| | |||||
* | Initial revision | Miles Bader | 1995-11-06 | 1 | -0/+146 |
| | |||||
* | (main): Add FLAGS arg to diskfs_startup_diskfs call. | Miles Bader | 1995-11-06 | 1 | -1/+1 |
| | |||||
* | (diskfs_get_translator, diskfs_set_translator): | Miles Bader | 1995-10-31 | 1 | -2/+6 |
| | | | | | | 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'. | ||||
* | (diskfs_node_reload): New function. | Miles Bader | 1995-10-21 | 1 | -61/+40 |
| | | | | | | | | | | (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. | ||||
* | (create_disk_pager, diskfs_get_filemap, pager_clear_user_data): | Miles Bader | 1995-10-21 | 1 | -97/+180 |
| | | | | | | | | | | | | | | 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_exec, pokel_flush): New functions. | Miles Bader | 1995-10-21 | 1 | -6/+22 |
| | | | | (pokel_sync): Use _pokel_exec to do the work. | ||||
* | (main): | Miles Bader | 1995-10-21 | 1 | -222/+32 |
| | | | | | | | | | | | | 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). | ||||
* | Initial revision | Miles Bader | 1995-10-20 | 1 | -0/+90 |
| | |||||
* | (SRCS): Remove devio.c, add msg.c and storeinfo.c. | Miles Bader | 1995-10-20 | 1 | -2/+2 |
| | |||||
* | (dev_read_sync, dev_write_sync): | Miles Bader | 1995-10-20 | 1 | -2/+4 |
| | | | | Offset the address to which we're doing i/o with DEVICE_START. |