summaryrefslogtreecommitdiff
path: root/ufs/dir.c
AgeCommit message (Collapse)Author
2007-10-05Update copyright years.Thomas Schwinge
2007-08-20[doc/ChangeLog]Samuel Thibault
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * hurd.texi: Document diskfs_set_node_atime. [ext2fs/ChangeLog] 2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call diskfs_set_node_atime instead of setting dp->dn_set_atime. [fatfs/ChangeLog] 2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call diskfs_set_node_atime instead of setting dp->dn_set_atime. [libdiskfs/ChangeLog] 2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * diskfs.h (diskfs_set_node_atime): New declaration. * node-times.c (diskfs_set_node_atime): New function. [ufs/ChangeLog] 2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org> * dir.c (diskfs_lookup_hard, diskfs_dirempty): Call diskfs_set_node_atime instead of setting dp->dn_set_atime. * inode.c (read_symlink_hook): Likewise.
2002-08-012002-07-31 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (diskfs_direnter_hard): Fix test in last change.
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE. Fail with EOVERFLOW when it would exceed that width. * alloc.c, dir.c: Use %Ld format for ino_t values. * alloc.c (diskfs_alloc_node): Use %Ld format for blkcnt_t values.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (diskfs_append_args): Fix argument type. (main): Use %z format modifier for size_t arg. * dir.c (dirscanblock): Use %z format modifier for vm_address_t arg. (diskfs_dirempty): int -> vm_address_t (count_dirents): int -> size_t (diskfs_get_directs): u_int -> size_t
2001-01-07doc/Marcus Brinkmann
2001-01-07 Marcus Brinkmann <marcus@gnu.org> * hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const. ext2fs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c: Make diskfs_dirstat_size const. isofs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * lookup.c: Make diskfs_dirstat_size const. ufs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * diskfs.h: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * file-statfs.c: Include <string.h>. ftpfs/ 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). 2001-01-07 Marcus Brinkmann <marcus@gnu.org> * copy.c: Include <mach.h>. New macro page_aligned. (copy_write): Cast buf to vm_address_t in call to vm_write. Dereference amount for memcpy. (copy_read): Add len parameter to vm_read, remove redundant following len assignment.
2000-11-30ext2fs, ufs:Marcus Brinkmann
2000-11-30 Marcus Brinkmann <marcus@gnu.org> * dir.c (diskfs_lookup_hard): If name is too long, clear DS before returning ENAMETOOLONG. pfinet: 2000-11-02 Marcus Brinkmann <marcus@gnu.org> * tunnel.c (trivfs_S_io_get_owner): Add return type to silence compiler warning.
2000-03-032000-03-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir.c (diskfs_get_directs): Don't allocate buffer for *DATA until after scanning for ENTRY and possibly returning EOF.
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_get_directs): Initialize `err' to shut gcc up. 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> * dir.c (diskfs_lookup_hard): Pass additional parameter to diskfs_get_filemap. (diskfs_dirempty): Likewise. * sizes.c (diskfs_truncate): Likewise. (block_extended): Likewise. (diskfs_grow): Likewise. * pager.c (diskfs_get_filemap): Accept additional parameter.
1999-07-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. * hyper.c (get_hypermetadata): Likewise. * pager.c (pager_read_page): Likewise.
1999-07-06Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita TAKAO <jargon@lares.dti.ne.jp>.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate. (diskfs_direnter_hard): Likewise. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise. (diskfs_dirempty): Likewise. (diskfs_drop_dirstat): Likewise. (diskfs_get_directs): Likewise. * sizes.c (block_extended): Likewise. (poke_pages): Likewise. * hyper.c (get_hypermetadata): Likewise. (diskfs_set_hypermetadata): Likewise.
1998-10-201998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir.c (diskfs_lookup_hard): Fix defn with `const'. (diskfs_direnter_hard): Likewise. (dirscanblock): Likewise. * inode.c (diskfs_create_symlink_hook, create_symlink_hook): Likewise. (diskfs_set_translator): Likewise.
1997-08-20Wed Aug 20 14:34:24 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. * sizes.c (diskfs_grow): Likewise. * dir.c (diskfs_dirempty): Cope (poorly) with error return from diskfs_get_filemap. * sizes.c (diskfs_truncate): Likewise. (block_extended): Likewise. * pager.c (diskfs_get_filemap): If pager_create fails, return error to caller.
1996-09-23(diskfs_direnter_hard):Miles Bader
Initialize OLDSIZE to shut up gcc.
1996-08-29*** empty log message ***Thomas Bushnell
1996-06-24(diskfs_lookup_hard): Use diskfs_check_readonly instead ofMichael I. Bushnell
diskfs_readonly. (diskfs_dirempty): Likewise.
1996-05-14foo.Michael I. Bushnell
1996-04-23(diskfs_dirempty): node_update -> diskfs_node_update.Michael I. Bushnell
1996-04-16(diskfs_lookup_hard): Set atime appropriately, and sync the new atimeMichael I. Bushnell
if we are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise.
1996-04-03(diskfs_lookup_hard):Michael I. Bushnell
1996-04-03(diskfs_lookup_hard):Michael I. Bushnell
1996-03-25(diskfs_null_dirstat): doc fixMichael I. Bushnell
1996-03-25(diskfs_null_dirstat): New function.Michael I. Bushnell
1996-03-20(diskfs_lookup_hard): Don't do final permission checking here.Michael I. Bushnell
1996-03-20(diskfs_lookup_hard): Don't do initial permission checking here.Michael I. Bushnell
1996-03-20(diskfs_dirrewrite_hard): Renamed from diskfs_dirrewrite. No longerMichael I. Bushnell
call modification tracking routines. (diskfs_dirremove_hard): Renamed from diskfs_dirremove. No longer call modification tracking routines. (diskfs_direnter_hard): Renamed from diskfs_direnter. No longer call modification tracking routines. (diskfs_lookup_hard): Renamed from diskfs_lookup.
1995-12-14(diskfs_lookup): If we are returning an error, then set the dirstat toMichael I. Bushnell
be ignored by drop_dirstat.
1995-11-09(struct dirstat): New member `nbytes'.Michael I. Bushnell
(dirscanblock): If DS->type is COMPRESS, still look for TAKE/SHRINK possibilities. Also, if it's COMPRESS, still look to see if the current block can be compressed with fewer byte copies.
1995-10-19(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-09-13(diskfs_lookup): Require NPP set for RENAME too.Michael I. Bushnell
1995-09-13(diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMichael I. Bushnell
even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
1995-06-21(diskfs_lookup): Provide initialization for BUFLEN.Michael I. Bushnell
(diskfs_direnter): Move assignment out of if test.
1995-05-08(diskfs_lookup): When looping back to try_again: because we're looking upMiles Bader
"..", be sure and trash the mapping we made of the directory's pager -- otherwise the reference to the pager never gets dropped and we can never free the node. (diskfs_lookup): ds->type was being compared to LOOKING, which value it can never have. Compare ds->stat against LOOKING instead.
1994-10-28entered into RCSMichael I. Bushnell
1994-09-30Formerly dir.c.~29~Michael I. Bushnell
1994-09-19Formerly dir.c.~28~Michael I. Bushnell
1994-09-16Formerly dir.c.~27~Michael I. Bushnell
1994-09-16Formerly dir.c.~26~Michael I. Bushnell
1994-08-05Formerly dir.c.~25~Michael I. Bushnell
1994-07-19Formerly dir.c.~24~Michael I. Bushnell
1994-07-15Formerly dir.c.~23~Michael I. Bushnell
1994-07-14Formerly dir.c.~22~Michael I. Bushnell
1994-07-11Formerly dir.c.~21~Michael I. Bushnell
1994-07-06Formerly dir.c.~20~Michael I. Bushnell
1994-06-21Initial revisionMichael I. Bushnell