summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-link.c
AgeCommit message (Collapse)Author
2012-09-22Avoid waiting for disk I/O completionSamuel Thibault
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.
2012-05-13Fix link(directory,whatever) POSIX compliancySamuel Thibault
* libdiskfs/dir-link.c (diskfs_S_dir_link): When source node is a directory, fail with EPERM instead of EISDIR.
1999-07-181999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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).
1997-02-14(diskfs_S_dir_link):Miles Bader
Don't pass depth args to diskfs_lookup.
1997-02-06(diskfs_S_dir_link):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
1996-06-24(diskfs_S_dir_link): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell
1996-05-09(diskfs_S_dir_link): fixup.Michael I. Bushnell
1996-05-09(diskfs_S_dir_link): Accept new parm EXCL and do the right thing withMichael I. Bushnell
it.
1996-03-20(diskfs_S_dir_link): Don't frob cache here.Michael I. Bushnell
1996-03-19(diskfs_S_dir_link): Call diskfs_enter_cache if diskfs_direnter isMichael I. Bushnell
successful.
1995-11-09(diskfs_S_dir_link): Now that args are swapped, deallocate port ref onMichael I. Bushnell
FILECRED instead of DIRCRED.
1995-10-07(diskfs_S_dir_link): Swap first two arguments.Miles Bader
1995-03-17(diskfs_S_dir_link): Fix typo.Michael I. Bushnell
1995-03-09(diskfs_S_dir_link): Implement diskfs_synchronous.Michael I. Bushnell
1994-07-13entered into RCSMichael I. Bushnell
1994-06-24Formerly dir-link.c.~6~Michael I. Bushnell
1994-06-21Formerly dir-link.c.~5~Michael I. Bushnell
1994-05-05Formerly dir-link.c.~4~Roland McGrath
1994-02-03Formerly dir-link.c.~3~Michael I. Bushnell
1994-02-03Formerly dir-link.c.~2~Michael I. Bushnell
1994-01-31Initial revisionMichael I. Bushnell