aboutsummaryrefslogtreecommitdiff
path: root/ufs/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* doc/Marcus Brinkmann2001-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ext2fs, ufs:Marcus Brinkmann2000-11-301-1/+5
| | | | | | | | | | | | | 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-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-031-10/+13
| | | | | * dir.c (diskfs_get_directs): Don't allocate buffer for *DATA until after scanning for ENTRY and possibly returning EOF.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-131-3/+3
|
* 1999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-081-3/+3
| | | | | | | | | | | | | | * 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-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-111-1/+1
| | | | | | * dir.c (diskfs_get_directs): Use mmap instead of vm_allocate. * hyper.c (get_hypermetadata): Likewise. * pager.c (pager_read_page): Likewise.
* Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-061-1/+1
| | | | | * dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita TAKAO <jargon@lares.dti.ne.jp>.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-14/+13
| | | | | | | | | | | | | | | * 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-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-201-86/+86
| | | | | | | | * 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.
* Wed Aug 20 14:34:24 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-1/+10
| | | | | | | | | | | | | * 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.
* (diskfs_direnter_hard):Miles Bader1996-09-231-1/+1
| | | | Initialize OLDSIZE to shut up gcc.
* *** empty log message ***Thomas Bushnell1996-08-291-12/+41
|
* (diskfs_lookup_hard): Use diskfs_check_readonly instead ofMichael I. Bushnell1996-06-241-5/+5
| | | | | diskfs_readonly. (diskfs_dirempty): Likewise.
* foo.Michael I. Bushnell1996-05-141-29/+37
|
* (diskfs_dirempty): node_update -> diskfs_node_update.Michael I. Bushnell1996-04-231-2/+2
|
* (diskfs_lookup_hard): Set atime appropriately, and sync the new atimeMichael I. Bushnell1996-04-161-0/+29
| | | | | | | | if we are running synchronously (!). (diskfs_dirempty): Likewise. (diskfs_direnter_hard): Set mtime appropriately. (diskfs_dirremove_hard): Likewise. (diskfs_dirrewrite_hard): Likewise.
* (diskfs_lookup_hard):Michael I. Bushnell1996-04-031-5/+5
|
* (diskfs_lookup_hard):Michael I. Bushnell1996-04-031-1/+1
|
* (diskfs_null_dirstat): doc fixMichael I. Bushnell1996-03-251-2/+1
|
* (diskfs_null_dirstat): New function.Michael I. Bushnell1996-03-251-0/+8
|
* (diskfs_lookup_hard): Don't do final permission checking here.Michael I. Bushnell1996-03-201-10/+0
|
* (diskfs_lookup_hard): Don't do initial permission checking here.Michael I. Bushnell1996-03-201-6/+0
|
* (diskfs_dirrewrite_hard): Renamed from diskfs_dirrewrite. No longerMichael I. Bushnell1996-03-201-22/+13
| | | | | | | | | 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.
* (diskfs_lookup): If we are returning an error, then set the dirstat toMichael I. Bushnell1995-12-141-1/+5
| | | | be ignored by drop_dirstat.
* (struct dirstat): New member `nbytes'.Michael I. Bushnell1995-11-091-16/+42
| | | | | | (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.
* (diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader1995-10-191-9/+6
|
* (diskfs_lookup): Require NPP set for RENAME too.Michael I. Bushnell1995-09-131-1/+1
|
* (diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMichael I. Bushnell1995-09-131-7/+11
| | | | | even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
* (diskfs_lookup): Provide initialization for BUFLEN.Michael I. Bushnell1995-06-211-7/+10
| | | | (diskfs_direnter): Move assignment out of if test.
* (diskfs_lookup): When looping back to try_again: because we're looking upMiles Bader1995-05-081-2/+7
| | | | | | | | "..", 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.
* entered into RCSMichael I. Bushnell1994-10-281-4/+0
|
* Formerly dir.c.~29~Michael I. Bushnell1994-09-301-3/+1
|
* Formerly dir.c.~28~Michael I. Bushnell1994-09-191-8/+11
|
* Formerly dir.c.~27~Michael I. Bushnell1994-09-161-1/+1
|
* Formerly dir.c.~26~Michael I. Bushnell1994-09-161-47/+32
|
* Formerly dir.c.~25~Michael I. Bushnell1994-08-051-1/+7
|
* Formerly dir.c.~24~Michael I. Bushnell1994-07-191-1/+25
|
* Formerly dir.c.~23~Michael I. Bushnell1994-07-151-6/+6
|
* Formerly dir.c.~22~Michael I. Bushnell1994-07-141-16/+26
|
* Formerly dir.c.~21~Michael I. Bushnell1994-07-111-0/+1
|
* Formerly dir.c.~20~Michael I. Bushnell1994-07-061-2/+2
|
* Initial revisionMichael I. Bushnell1994-06-211-0/+861