Age | Commit message (Collapse) | Author |
|
|
|
Turn off synchronous mode when setting a sync interval.
|
|
* file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>.
Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* diskfs.h (diskfs_hard_readonly): New variable.
(diskfs_readonly): Doc change.
* readonly.c (diskfs_readonly): Provide initialized declaration.
(diskfs_check_readonly): If we cannot write the media and so we
switch to readonly, set diskfs_hard_readonly too.
(diskfs_set_readonly): If diskfs_hard_readonly is set, then
inhibit any attempt to clear readonly status.
|
|
* diskfs.h (diskfs_hard_readonly): New variable.
(diskfs_readonly): Doc change.
* readonly.c (diskfs_readonly): Provide initialized declaration.
(diskfs_check_readonly): If we cannot write the media and so we
switch to readonly, set diskfs_hard_readonly too.
(diskfs_set_readonly): If diskfs_hard_readonly is set, then
inhibit any attempt to clear readonly status.
|
|
|
|
Initialize the ROOT_PARENT, SHADOW_ROOT, and SHADOW_ROOT_PARENT fields.
|
|
|
|
Use fshelp_translated rather than fshelp_fetch_control.
|
|
* Makefile (LCLHDRS): Add fhandle.h.
|
|
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
|
|
* dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated
error before ENOTDIR-when-not-dir.
|
|
|
|
Pass CRED's shadow root inode number to fshelp_get_identity when creating a
shadow root fsid, not INUM.
|
|
|
|
|
|
Mark shadow roots with S_IROOT.
|
|
Return different fsys ids for different shadow roots.
|
|
|
|
Use CRED->po as LOOKUPCRED's po, so that root detection works (and doesn't
crash).
|
|
Don't deadlock if PO's shadow_root is also it's node.
|
|
Don't release a reference to any old shadow_root if it was == NODE.
Don't aquire a new reference for NODE.
|
|
Support reading from sylinks.
|
|
Allow symlinks to be opened for O_READ.
|
|
|
|
|
|
dir-reparent.c replaced by file-reparent.c.
|
|
|
|
|
|
Pass COOKIE directly to diskfs_make_peropen instead of unpacking each arg.
|
|
Type removed.
|
|
Finalize new state.
|
|
Add & use CONTEXT param.
Remove DOTDOT & DEPTH params.
|
|
Remove DEPTH & NEW_DEPTH params.
Check CRED->po->shadow_root for root traversals, and get rid of assert that
EAGAIN isn't returned from diskfs_lookup_hard.
|
|
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
Remove DEPTH & NEW_DEPTH params.
(struct peropen):
Add shadow_root_parent & shadow_root fields.
Removed depth field.
Rename dotdotnode field to root_parent.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Return EXDEV if FROMCRED and TOCRED are in different shadow trees.
Don't pass depth args to diskfs_lookup.
|
|
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
Use DIRCRED->po as the cookie for fshelp_fetch_root instead of a local
structure.
Get rid of DEPTH variable.
Get rid of depth parameters to diskfs_lookup.
Deal properly with EAGAIN return from diskfs_lookup.
Replace references to dotdotport with root_parent.
Remove O_EXLOCK & O_SHLOCK from FLAGS mask, now that they're included in
O_HURD.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Don't pass depth args to diskfs_lookup.
|
|
Don't pass depth args to diskfs_lookup.
|
|
diskfs_S_exec_startup_get_info, diskfs_start_bootstrap):
Pass a prototype peropen instead of the dotdotport and depth to
diskfs_make_peropen.
|
|
|
|
Check OFF for validity and return EINVAL if it's bogus.
|