aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/dir-link.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid waiting for disk I/O completionSamuel Thibault2012-09-221-1/+1
| | | | | | | | | | | | | | | | This improves performance quite a bit, and is not less safe. * ext2fs/dir.c (diskfs_direnter_hard, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Pass diskfs_synchronous instead of 1 as wait parameter to diskfs_file_update. * ext2fs/truncate.c (diskfs_truncate): Likewise. * libdiskfs/dir-init.c (diskfs_init_dir): Likewise. * libdiskfs/dir-link.c (diskfs_S_dir_link): Likewise. * libdiskfs/dir-rename.c (diskfs_S_dir_rename): Likewise. * libdiskfs/dir-renamed.c (diskfs_rename_dir): Likewise. * libdiskfs/file-set-trans.c (diskfs_S_file_set_translator): Likewise. * libdiskfs/node-create.c (diskfs_create_node): Likewise. * libdiskfs/node-drop.c (diskfs_drop_node): Likewise.
* Fix link(directory,whatever) POSIX compliancySamuel Thibault2012-05-131-1/+1
| | | | | * libdiskfs/dir-link.c (diskfs_S_dir_link): When source node is a directory, fail with EPERM instead of EISDIR.
* 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-181-14/+14
| | | | | | * 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).
* (diskfs_S_dir_link):Miles Bader1997-02-141-2/+1
| | | | Don't pass depth args to diskfs_lookup.
* (diskfs_S_dir_link):Miles Bader1997-02-061-2/+5
| | | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
* (diskfs_S_dir_link): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell1996-06-241-1/+1
|
* (diskfs_S_dir_link): fixup.Michael I. Bushnell1996-05-091-3/+3
|
* (diskfs_S_dir_link): Accept new parm EXCL and do the right thing withMichael I. Bushnell1996-05-091-29/+62
| | | | it.
* (diskfs_S_dir_link): Don't frob cache here.Michael I. Bushnell1996-03-201-2/+0
|
* (diskfs_S_dir_link): Call diskfs_enter_cache if diskfs_direnter isMichael I. Bushnell1996-03-191-1/+3
| | | | successful.
* (diskfs_S_dir_link): Now that args are swapped, deallocate port ref onMichael I. Bushnell1995-11-091-1/+1
| | | | FILECRED instead of DIRCRED.
* (diskfs_S_dir_link): Swap first two arguments.Miles Bader1995-10-071-2/+2
|
* (diskfs_S_dir_link): Fix typo.Michael I. Bushnell1995-03-171-1/+1
|
* (diskfs_S_dir_link): Implement diskfs_synchronous.Michael I. Bushnell1995-03-091-1/+6
|
* entered into RCSMichael I. Bushnell1994-07-131-7/+10
|
* Formerly dir-link.c.~6~Michael I. Bushnell1994-06-241-1/+1
|
* Formerly dir-link.c.~5~Michael I. Bushnell1994-06-211-0/+3
|
* Formerly dir-link.c.~4~Roland McGrath1994-05-051-1/+1
|
* Formerly dir-link.c.~3~Michael I. Bushnell1994-02-031-7/+11
|
* Formerly dir-link.c.~2~Michael I. Bushnell1994-02-031-0/+1
|
* Initial revisionMichael I. Bushnell1994-01-311-0/+82