aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* Mon Feb 24 14:40:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-04-162-12/+20
| | | | | * dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated error before ENOTDIR-when-not-dir.
* .Miles Bader1997-03-021-0/+6
|
* (diskfs_S_io_identity):Miles Bader1997-03-021-1/+3
| | | | | Pass CRED's shadow root inode number to fshelp_get_identity when creating a shadow root fsid, not INUM.
* .Miles Bader1997-03-011-0/+2
|
* .Miles Bader1997-02-241-0/+4
|
* (diskfs_S_io_stat):Miles Bader1997-02-241-2/+2
| | | | Mark shadow roots with S_IROOT.
* (diskfs_S_io_identity):Miles Bader1997-02-241-4/+11
| | | | Return different fsys ids for different shadow roots.
* .Miles Bader1997-02-221-0/+13
|
* (diskfs_init_dir):Miles Bader1997-02-221-2/+1
| | | | | Use CRED->po as LOOKUPCRED's po, so that root detection works (and doesn't crash).
* (diskfs_release_peropen):Miles Bader1997-02-221-1/+1
| | | | Don't deadlock if PO's shadow_root is also it's node.
* (diskfs_S_file_reparent):Miles Bader1997-02-221-2/+1
| | | | | Don't release a reference to any old shadow_root if it was == NODE. Don't aquire a new reference for NODE.
* (diskfs_S_io_read):Miles Bader1997-02-211-3/+26
| | | | Support reading from sylinks.
* (diskfs_S_dir_lookup):Miles Bader1997-02-211-3/+4
| | | | Allow symlinks to be opened for O_READ.
* .Miles Bader1997-02-211-0/+6
|
* .Miles Bader1997-02-141-0/+55
|
* (FSSRCS):Miles Bader1997-02-141-2/+2
| | | | dir-reparent.c replaced by file-reparent.c.
* Supplanted by file-reparent.cMiles Bader1997-02-141-54/+0
|
* Initial checkinMiles Bader1997-02-141-0/+66
|
* (_diskfs_translator_callback2_fn):Miles Bader1997-02-141-3/+1
| | | | Pass COOKIE directly to diskfs_make_peropen instead of unpacking each arg.
* (struct diskfs_trans_callback_cookie2):Miles Bader1997-02-141-8/+0
| | | | Type removed.
* (diskfs_release_peropen):Miles Bader1997-02-141-4/+12
| | | | Finalize new state.
* (diskfs_make_peropen):Miles Bader1997-02-141-7/+21
| | | | | Add & use CONTEXT param. Remove DOTDOT & DEPTH params.
* (diskfs_lookup):Miles Bader1997-02-141-20/+3
| | | | | | 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.
* (diskfs_S_fsys_getroot):Miles Bader1997-02-141-7/+9
| | | | | Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* (diskfs_S_fsys_getfile):Miles Bader1997-02-141-2/+1
| | | | | Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* (diskfs_S_file_exec):Miles Bader1997-02-141-3/+1
| | | | | Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* (diskfs_lookup):Miles Bader1997-02-141-12/+12
| | | | | | | | Remove DEPTH & NEW_DEPTH params. (struct peropen): Add shadow_root_parent & shadow_root fields. Removed depth field. Rename dotdotnode field to root_parent.
* (diskfs_S_dir_unlink):Miles Bader1997-02-141-1/+1
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_S_dir_rmdir):Miles Bader1997-02-141-1/+1
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_rename_dir, checkpath):Miles Bader1997-02-141-4/+4
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_S_dir_rename):Miles Bader1997-02-141-7/+8
| | | | | Return EXDEV if FROMCRED and TOCRED are in different shadow trees. Don't pass depth args to diskfs_lookup.
* (diskfs_S_dir_mkfile):Miles Bader1997-02-141-3/+1
| | | | | Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* (diskfs_S_dir_mkdir):Miles Bader1997-02-141-3/+1
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_S_dir_lookup):Miles Bader1997-02-141-34/+37
| | | | | | | | | | | | | 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.
* (diskfs_S_dir_link):Miles Bader1997-02-141-2/+1
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_init_dir):Miles Bader1997-02-141-2/+2
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_clear_directory):Miles Bader1997-02-141-2/+2
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_execboot_fsys_startup, diskfs_S_fsys_init,Miles Bader1997-02-141-8/+4
| | | | | | diskfs_S_exec_startup_get_info, diskfs_start_bootstrap): Pass a prototype peropen instead of the dotdotport and depth to diskfs_make_peropen.
* .Miles Bader1997-02-121-0/+4
|
* (diskfs_S_io_write):Miles Bader1997-02-121-1/+6
| | | | Check OFF for validity and return EINVAL if it's bogus.
* (diskfs_S_io_read):Miles Bader1997-02-121-1/+6
| | | | Check OFF for validity and return EINVAL if it's bogus.
* .Miles Bader1997-02-061-0/+49
|
* (_diskfs_translator_callback2_fn):Miles Bader1997-02-061-3/+4
| | | | | Expect COOKIE2 to be a pointer to a struct diskfs_trans_callback_cookie2, and use that to pass args to diskfs_make_peropen.
* (struct diskfs_trans_callback_cookie2):Miles Bader1997-02-061-1/+9
| | | | New type.
* (diskfs_make_peropen):Miles Bader1997-02-061-2/+4
| | | | Add & use DEPTH argument.
* (diskfs_lookup):Miles Bader1997-02-061-63/+92
| | | | | Add DEPTH & NEW_DEPTH arguments. Implement new fs-root detection using them.
* (diskfs_S_fsys_getroot):Miles Bader1997-02-061-3/+5
| | | | | | Supply DEPTH argument to diskfs_make_peropen. Pass new type of cookie2 to fshelp_fetch_root, as expected by _diskfs_translator_callback2.
* (diskfs_S_file_exec):Miles Bader1997-02-061-2/+3
| | | | Supply DEPTH argument to diskfs_make_peropen.
* (diskfs_S_dir_unlink):Miles Bader1997-02-061-2/+2
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_S_dir_rmdir):Miles Bader1997-02-061-2/+2
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.