Age | Commit message (Collapse) | Author |
|
|
|
* 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).
|
|
|
|
* boot-start.c (diskfs_S_exec_startup_get_info): Typo in last change.
|
|
* 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.
|
|
|
|
* priv.h: Add #include <sys/mman.h> for munmap decl.
|
|
* node-nputl.c (diskfs_nput_light): Fix typo in function
declaration. Reported by Yamashita TAKAO
(jargon@lares.dti.ne.jp).
|
|
* 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.
|
|
* 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.
|
|
* hyper.c (diskfs_readonly_changed): Adjust whether the store
should permit writes too.
|
|
* 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.
|
|
* dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer.
|
|
* 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.
|
|
|
|
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in
last change.
|
|
|
|
* 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>.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* file-chown.c (diskfs_S_file_chown): Fix last change: not just
permission check, actually don't make the change if value is -1.
|
|
|
|
* file-chown.c (diskfs_S_file_chown): Either arg being -1 means don't
change that id.
|
|
* 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.
|
|
* lookup.c (diskfs_lookup): Reformat for prettiness.
|
|
|
|
* io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate.
* readonly.c (diskfs_set_readonly): Likewise.
|
|
* io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation
by blocking all other rpcs.
|
|
* io-revoke.c (diskfs_S_io_revoke): Release NP->lock before
beginning iteration.
|
|
|
|
* init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change.
|
|
* io-revoke.c (diskfs_S_io_revoke): Fix typo in 1999-02-16 change.
|
|
|
|
* io-revoke.c: New file.
* Makefile (IOSRCS): Add io-revoke.c.
|
|
* 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.
|
|
* 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.
|
|
* file-utimes.c (diskfs_S_file_utimes): Implement new semantics
for setting to exactly present time.
|
|
|
|
* Makefile (OTHERSRCS): Add init-main.c.
|
|
|
|
* file-set-trans.c: Remove makedev, major, minor macro definitions.
* dir-lookup.c: Likewise.
|
|
* init-main.c: New file, defining new function diskfs_init_main.
* diskfs.h: Declare diskfs_init_main.
|
|
|
|
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
|
|
|
|
|
|
Use a struct hurd_port for the cached exec server port,
so it is properly reference-counted and locked.
* boot-start.c (diskfs_exec): Variable removed.
(diskfs_start_bootstrap): Make it a local here.
Install that port in _diskfs_exec_portcell.
(diskfs_S_fsys_init): Use _diskfs_exec_portcell instead
of diskfs_exec.
* init-init.c (_diskfs_exec_portcell): New variable.
(diskfs_init_diskfs): Initialize it.
* priv.h: Declare it.
* diskfs.h (diskfs_exec, diskfs_exec_ctl): Remove decls.
* file-exec.c (diskfs_S_file_exec): Use _diskfs_exec_portcell instead
of diskfs_exec.
|