summaryrefslogtreecommitdiff
path: root/ext2fs/dir.c
AgeCommit message (Collapse)Author
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir.c (dirscanblock): Fix defn with `const'. (diskfs_direnter_hard): Likewise. * inode.c (diskfs_create_symlink_hook): Likewise. (write_symlink): Likewise. * dir.c (diskfs_lookup_hard): Fix defn with `const'. * inode.c (diskfs_set_translator): Likewise.
1997-08-20Wed Aug 20 14:28:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* dir.c (diskfs_lookup_hard): Cope with error return from diskfs_get_filemap. (diskfs_dirempty): Cope (poorly) with error return from diskfs_get_filemap. * truncate.c (force_delayed_copies): Likewise. * pager.c (diskfs_get_filemap): If pager_create fails, return error to caller.
1996-08-30(diskfs_lookup_hard):Miles Bader
When setting ds->stat to EXTEND, set ds->idx by looking at the size of the file. After successful dirscanblock, record index where we finished in DP->dn->dir_idx. Start searches at that index. (dirscanblock): Size dirents correctly when mallocing it. (diskfs_direnter_hard): Be more careful when sizing or resizing dirents. Correctly set to -1 all the new entries we create after realloc call. (diskfs_direnter_hard): Initialize OLDSIZE to quiet gcc.
1996-06-25(diskfs_lookup_hard, diskfs_dirempty):Miles Bader
Use diskfs_check_readonly instead of diskfs_readonly.
1996-04-17(diskfs_lookup_hard): Set atime appropriately, and sync the new atime if weMiles Bader
are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise.
1996-04-11Replace references to the NUMBER field in a node's disknode structures withMiles Bader
references to the CACHE_ID field in the node. Replace references to iget with diskfs_cached_lookup.
1996-03-29(diskfs_null_dirstat): New function.Miles Bader
(diskfs_lookup_hard, diskfs_direnter, diskfs_dirremove_hard, diskfs_dirrewrite_hard): Renamed from versions without `_hard' suffix. Get rid of stuff now done by diskfs.
1996-02-06(diskfs_get_directs): When BUFSIZ is 0, allocate enough extra space over theMiles Bader
directory size to account for the worst case difference between the ext2 and canonical formats.
1996-01-15(diskfs_direnter):Miles Bader
Don't include the terminating '\0' in on-disk directory entry names.
1996-01-15(diskfs_lookup): Patch from ufs/dir.c: If we are returning an error, then setMiles Bader
the dirstat to be ignored by drop_dirstat.
1995-11-21(dirscanblock): Apply mib's changes to ufs/dir.c.Miles Bader
1995-10-20(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-09-13(diskfs_lookup): Require NPP set for RENAME too.Miles Bader
1995-09-13(diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMiles Bader
even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
1995-06-24(diskfs_direnter): Move assignment out of test.Miles Bader
(diskfs_get_directs): Fix print-format types.
1995-05-12Change uses of the ext2_{warning,error,panic} functions to not have theMiles Bader
initial function name argument (it's now supplied automagically).
1995-05-08entered into RCSMiles Bader
1995-05-07Formerly dir.c.~12~Miles Bader
1995-05-04Formerly dir.c.~11~Miles Bader
1995-05-03Formerly dir.c.~10~Miles Bader
1995-04-20Formerly dir.c.~9~Miles Bader
1995-04-19Formerly dir.c.~8~Miles Bader
1995-04-19Formerly dir.c.~7~Miles Bader
1995-04-16Formerly dir.c.~6~Miles Bader
1995-04-15Formerly dir.c.~5~Miles Bader
1995-04-12Formerly dir.c.~4~Miles Bader
1995-04-12Initial revisionMiles Bader