summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-09-041999-08-10 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* portinfo.c: Correct documentation for (currently implemented) --target-send and --target-send-once options. Reported by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
1999-09-041999-09-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c (find_address): If !ISREAD, then don't return errors for access past NP->allocsize, and clear *ADDR and *DISKSIZE. These can happen through harmless races against truncate. (pager_write_page): Don't print annoying messages for writes to unallocated disk. These can happen through harmless races against truncate, and so we should not pester the console with them.
1999-09-041999-09-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c (file_pager_write_page): Don't report errors on writes that extend past NODE->allocsize. This avoids a race between sync and truncate. Reported by Mark Kettenis <kettenis@wins.uva.nl>.
1999-09-01.Roland McGrath
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* crash.c (trivfs_modify_stat): Remove redundant fstype setting. * password.c (trivfs_modify_stat): Likewise.
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* bogus-fifo.c (main): Deallocate bootstrap port after using it. * fifo.c (main): Likewise. * firmlink.c (main): Likewise. * ifsock.c (main): Likewise. * magic.c (main): Likewise. * null.c (main): Likewise. * symlink.c (main): Likewise.
1999-08-23.Roland McGrath
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_free_blocks): Handle freeing across group boundary, as Linux 2.3.14 does. * balloc.c (ext2_check_blocks_bitmap): If RO_COMPAT_SPARSE_SUPER feature flag is set, or if group number is not a power of 3, 5, or 7 (I don't know why; this is what Linux 2.3.14 does), skip tests for superblocks and descriptor blocks being free in bitmap. * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* inode.c (read_node): Don't set INFO->i_version. Extract INFO->i_dir_acl value only for a directory; otherwise use zero and instead extract INFO->i_high_size. Fail with EFBIG if INFO->i_high_size is nonzero. * inode.c (write_node): Get i_flags from NP->dn->info instead of from the disk inode, so we can have modified the in-core version. * dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from DP->dn->info.i_flags after modifying the directory (this is what Linux 2.3.14 does). * inode.c (read_node): i_version -> i_generation * inode.c (write_node): Likewise. * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ialloc.c (diskfs_alloc_node): Propagate initial value of i_flags from directory, as Linux 2.3.14 does.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions. * ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* inode.c (write_node): Get i_flags from NP->dn->info instead of from the disk inode, so we can have modified the in-core version. * dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from DP->dn->info.i_flags after modifying the directory (this is what Linux 2.3.14 does). * dir.c: Replace `struct ext2_dir_entry' with `struct ext2_dir_entry_2' in all uses. (ext2_file_type): New static const variable. (diskfs_get_directs): Set d_type member based on file_type field in directory entry.
1999-08-22.Roland McGrath
1999-08-201999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (parse_script): Add one to the buffer size so we can null-terminate after the end of the file.
1999-08-20.Roland McGrath
1999-08-201999-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* portinfo.c (options): Doc fixes from Marcus.
1999-08-20.Roland McGrath
1999-08-20* mktime.c: File removed. Current libc code is good.Roland McGrath
1999-08-201999-08-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mktime.c: File removed. Current libc code is good. * Makefile (SRCS): Remove mktime.c.
1999-08-11*** empty log message ***Thomas Bushnell
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* open.c (ftp_conn_open): Ignore error from ftp_conn_sysify; it's ok if we can't successfully deal. If we didn't sysify successfully before login, then try again afterwards.
1999-08-111999-08-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
1999-07-31* mksmallso, mkemptyso: Files removed. The *.sh files are the source.Roland McGrath
1999-07-24.Roland McGrath
1999-07-241999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (split-init): Set to `yes' by default.
1999-07-24.Roland McGrath
1999-07-241999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-rmdir.c (diskfs_S_dir_rmdir): Fix bugs in last change. Replace label `out' with local inline function `done'. Don't try diskfs_nput (NP) when NP is null.
1999-07-24.Roland McGrath
1999-07-241999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.
1999-07-231999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (targets): Remove freeauth, added accidentally.
1999-07-20.Roland McGrath
1999-07-201999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific routines *_page_{read,write}_file_direct. Moved to ... * file_io.c (page_read_file_direct, page_write_file_direct): Don't call fs-specific routine, these are not fs-specific. Instead, replaced with former fs-specific routines (which were all identical). Read and write more than a fs block when disk blocks are contiguous.
1999-07-20.Roland McGrath
1999-07-201999-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (new_partition): When reading Linux signature page, handle pager_read_file_direct returning sub-page blocks.
1999-07-18.Roland McGrath
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (servercopy): Removed unused variable.
1999-07-18.Roland McGrath
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rpctrace.c (rewrite_right): If we see our own wrapper right, unwrap and replace it with the original send right. (trace_and_forward): Remove vm_map special case.
1999-07-18.Roland McGrath
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-link.c (diskfs_S_dir_link): Fix error checks on ports. If DIRCRED (receiver port) is bad, return EOPNOTSUPP. If FILECRED (argument port) is bad, return EXDEV (after EROFS check).
1999-07-18(trace_and_forward): rehack special cases for mach_port_insert_right and vm_mapRoland McGrath
1999-07-18.Roland McGrath
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rpctrace.c: Mostly rewritten. Now mostly working with skeletal functionality.
1999-07-16.Roland McGrath
1999-07-161999-07-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rpctrace.c: New file, from josem and gord. Not yet functional. * Makefile (rpctrace): New target. (targets): Add rpctrace. (SRCS): Add rpctrace.c.
1999-07-11add diskfs_default_sync_interval itemRoland McGrath
1999-07-11.Roland McGrath
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-storage-info.c: Add #include <sys/mman.h>. * file-get-translator.c: Likewise.
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* portinfo.h: Don't include <sys/types.h>, <sys/mman.h>. This is an exported header, and its decls don't need them. * portinfo.c: Include them here instead. * xportinfo.c: And here.