summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1999-09-091999-09-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-pathconf.c: Include <unistd.h>. (diskfs_S_io_pathconf): Provide real definition.
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-map-segment.c: New file. Guts from io-map.c. * io-map.c (diskfs_S_io_map): Just call diskfs_S_io_map_segment. * diskfs.h (diskfs_get_filemap): New parameter `index'. * rdwr-internal.c (_diskfs_rdwr_internal): Pass additional parameter to diskfs_get_filemap. * Makefile (IOSRCS): Add io-map-segment.c.
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-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-11.Roland McGrath
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change.
1999-07-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* boot-start.c (diskfs_S_exec_startup_get_info): Use mmap instead of vm_allocate. (diskfs_S_fsys_init): Likewise. * file-get-trans.c (diskfs_S_file_get_translator): Likewise. * file-getfh.c (diskfs_S_file_getfh): Likewise. * io-read.c (diskfs_S_io_read): Likewise.
1999-07-11.Roland McGrath
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* priv.h: Add #include <sys/mman.h> for munmap decl.
1999-07-06Mon Jul 5 20:03:18 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* node-nputl.c (diskfs_nput_light): Fix typo in function declaration. Reported by Yamashita TAKAO (jargon@lares.dti.ne.jp).
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* file-get-trans.c (diskfs_S_file_get_translator): Use munmap instead of vm_deallocate. * io-read.c (diskfs_S_io_read): Likewise. * protid-rele.c (diskfs_protid_rele): Likewise.
1999-07-011999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* node-nref.c: New file; guts from diskfs.h. * node-nput.c: Likewise. * node-nrele.c: Likewise. * node-nrefl.c: Likewise. * node-nputl.c: Likewise. * node-nrelel.c: LIkewise. * diskfs.h (diskfs_nref, diskfs_nput, diskfs_nrele, diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): Replace inline definitions with ordinary declarations. (DISKFS_EI): Removed macro. * diskfs.c: Deleted file. * Makefile (OTHERSRCS): Added node-nref.c, node-nput.c node-nrele.c, node-nrefl.c, node-nputl.c, node-nrelel.c. Removed diskfs.c.
1999-06-291999-06-29 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* hyper.c (diskfs_readonly_changed): Adjust whether the store should permit writes too.
1999-06-291999-06-29 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lookup.c (diskfs_lookup): If we get an error from fshelp_checkdirmod, clear *NP as well as returning the error. Use diskfs_nrele instead of diskfs_nput in case *NP and DP are the same. 1999-06-28 Thomas Bushnell, BSG <tb@mit.edu> * dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer; several little buglets fixed too.
1999-06-291999-06-28 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer.
1999-06-271999-06-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* sync-default.c (diskfs_default_sync_interval): Reduce to five seconds. Hardware is much different than when Unix originally picked thirty, plus we manage VM differently than the Unix buffer cache did, and tend to delay many more writes than Unix did.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in last change.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): If we return an error, vm_deallocate any vm_allocated memory. From Mark Kettenis <kettenis@gnu.org>.
1999-06-04.Roland McGrath
1999-06-041999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (diskfs_start_bootstrap): Pass environment collected from `environ' on to init. The kernel can send more parameters through this way without us knowing about them specifically.
1999-05-19.Roland McGrath
1999-05-191999-05-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* console.c (diskfs_console_stdio): If there is an fd 2 that appears to work, just leave it as is and dup2 it to fd 1 as well.
1999-05-16.Roland McGrath
1999-05-161999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-chown.c (diskfs_S_file_chown): Fix last change: not just permission check, actually don't make the change if value is -1.
1999-05-15.Roland McGrath
1999-05-151999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-chown.c (diskfs_S_file_chown): Either arg being -1 means don't change that id.
1999-04-06Tue Apr 6 10:05:49 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir-renamed.c (diskfs_rename_dir): Stage 1, if TNP == FNP, we have to unlock TNP with diskfs_nput and not just diskfs_nrele it.
1999-03-17Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lookup.c (diskfs_lookup): Reformat for prettiness.
1999-02-28.Roland McGrath
1999-02-281999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate. * readonly.c (diskfs_set_readonly): Likewise.
1999-02-22Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation by blocking all other rpcs.
1999-02-21Sat Feb 20 20:46:21 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c (diskfs_S_io_revoke): Release NP->lock before beginning iteration.
1999-02-17.Roland McGrath
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change.
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-revoke.c (diskfs_S_io_revoke): Fix typo in 1999-02-16 change.
1999-02-16minor repairsThomas Bushnell
1999-02-16Tue Feb 16 05:31:23 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c: New file. * Makefile (IOSRCS): Add io-revoke.c.
1999-02-13Sat Feb 13 04:29:29 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* peropen-make.c (diskfs_make_peropen): If there is no existing context, then set the shadow_root iff we are a chrooted virtual root filesystem.
1999-02-131999-02-12 Gordon Matzigkeit <gord@trick.fig.org>Thomas Bushnell
* init-startup.c (diskfs_startup_diskfs): Release the virtual root's lock as soon as we've checked that it's a valid directory. Ignore leading slashes in _diskfs_chroot_directory.
1999-01-31Sun Jan 31 18:24:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* file-utimes.c (diskfs_S_file_utimes): Implement new semantics for setting to exactly present time.
1999-01-27.Roland McGrath
1999-01-271999-01-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (OTHERSRCS): Add init-main.c.
1999-01-24.Roland McGrath
1999-01-241999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-set-trans.c: Remove makedev, major, minor macro definitions. * dir-lookup.c: Likewise.
1999-01-241999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init-main.c: New file, defining new function diskfs_init_main. * diskfs.h: Declare diskfs_init_main.
1999-01-01.Roland McGrath