| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* 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.
|
|
|
|
| |
Check OFF for validity and return EINVAL if it's bogus.
|
| |
|
|
|
|
|
| |
Expect COOKIE2 to be a pointer to a struct diskfs_trans_callback_cookie2,
and use that to pass args to diskfs_make_peropen.
|
|
|
|
| |
New type.
|
|
|
|
| |
Add & use DEPTH argument.
|
|
|
|
|
| |
Add DEPTH & NEW_DEPTH arguments.
Implement new fs-root detection using them.
|
|
|
|
|
|
| |
Supply DEPTH argument to diskfs_make_peropen.
Pass new type of cookie2 to fshelp_fetch_root, as expected by
_diskfs_translator_callback2.
|
|
|
|
| |
Supply DEPTH argument to diskfs_make_peropen.
|
|
|
|
| |
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
|
|
|
|
| |
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
|