Age | Commit message (Collapse) | Author |
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
|
|
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.
|
|
* ext2fs.h (ext2_getblk): Fix typo in comment.
* getblk.c (ext2_getblk): Likewise.
* dir.c (diskfs_get_directs): Likewise.
|
|
* dir.c (diskfs_direnter_hard): Fix test in last change.
|
|
* ialloc.c (diskfs_free_node): Use %Ld format for ino_t/off_t values.
* pager.c (diskfs_grow, pager_unlock_page): Likewise.
* inode.c (read_node): Likewise.
* dir.c (diskfs_get_directs): Likewise.
* dir.c (diskfs_direnter_hard): Use size_t for OLDSIZE.
Fail with EOVERFLOW when it would exceed that width.
|
|
* dir.c (dirscanblock): Use %z format.
(diskfs_get_directs): Likewise.
* ext2fs.c (main): Likewise.
* hyper.c (get_hypermetadata): Likewise.
* pager.c (pager_unlock_page): Likewise.
2002-05-28 Roland McGrath <roland@frob.com>
* ext2fs.c (diskfs_append_args): unsigned -> size_t
* dir.c (count_dirents): int -> size_t
(diskfs_get_directs): u_int -> size_t
|
|
* dir.c (diskfs_dirremove_hard): Remove redundant DP->dn_set_mtime set.
Noticed by 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-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.
|
|
* dir.c (diskfs_get_directs): Don't allocate buffer for *DATA until
after scanning for ENTRY and possibly returning EOF.
|
|
* dir.c (ext2_file_type): #if 0 out this variable.
(diskfs_get_directs): #if 0 out code to interpret file_type field
and set d_type. Instead, always return DT_UNKNOWN for now.
|
|
* dir.c (file_type_ext2): #if 0 out.
(diskfs_direnter_hard): #if 0 out code to set file_type field in
directory entries. Instead, always set it to zero.
|
|
* hyper.c (get_hypermetadata): Use EXT2_MAX_BLOCK_SIZE instead of
hard-wired 8192. Don't use ffs to compute log2_block_size, and don't
check for the impossible case of non-power-of-two block size (the
block size specification we start with is given as a power of two!).
* ext2fs.h (block_size): Change type to unsigned int.
(BLOCKSIZE_SCALE): Just use SBLOCK->s_log_block_size directly.
* hyper.c (get_hypermetadata): Fix printf formats to silence warning.
* dir.c (dirscanblock): Likewise.
|
|
* dir.c (file_type_ext2): New const variable, map DT_* -> EXT2_FT_*.
(diskfs_direnter_hard): Move initialization of directory entry content
fields out of switch; use memcpy or memmove as appropriate, instead of
bcopy. Set file_type field in new directory entry to appropriate
type for the node, or to zero if the filesystem doesn't have the
EXT2_FEATURE_INCOMPAT_FILETYPE flag set.
|
|
|
|
* dir.c (diskfs_lookup_hard): Pass additional parameter to
diskfs_get_filemap.
(diskfs_dirempty): Likewise.
* truncate.c (force_delayed_copies): Likewise.
* pager.c (diskfs_get_filemap): Accept additional parameter.
|
|
* inode.c (write_node): Get i_flags from NP->dn->info instead of from
the disk inode, so we can have modified the in-core version.
* dir.c (diskfs_direnter_hard, diskfs_dirremove_hard,
diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from
DP->dn->info.i_flags after modifying the directory (this is what
Linux 2.3.14 does).
* dir.c: Replace `struct ext2_dir_entry' with `struct ext2_dir_entry_2'
in all uses.
(ext2_file_type): New static const variable.
(diskfs_get_directs): Set d_type member based on file_type field in
directory entry.
|
|
* dir.c (diskfs_get_directs): Fix sloppy bugs in last change.
* hyper.c (allocate_mod_map): Likewise.
* pager.c (get_page_buf): Likewise.
|
|
* dir.c (diskfs_get_directs): Use mmap instead of vm_allocate.
* hyper.c (allocate_mod_map): Likewise.
(get_hypermetadata): Likewise.
* pager.c (get_page_buf): Likewise.
* hyper.c (diskfs_readonly_changed): Use mprotect instead of
vm_protect.
|
|
* 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.
* hyper.c (allocate_mod_map): Likewise.
(get_hypermetadata): Likewise.
* pager.c (free_page_buf): Likewise.
* truncate.c (poke_pages): Likewise.
|
|
* 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.
|
|
* 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.
|
|
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.
|
|
Use diskfs_check_readonly instead of diskfs_readonly.
|
|
are running synchronously (!).
(diskfs_dirempty): Likewise.
(diskfs_direnter_hard): Set mtime appropriately.
(diskfs_dirremove_hard): Likewise.
(diskfs_dirrewrite_hard): Likewise.
|
|
references to the CACHE_ID field in the node.
Replace references to iget with diskfs_cached_lookup.
|
|
(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.
|
|
directory size to account for the worst case difference between the ext2 and
canonical formats.
|
|
Don't include the terminating '\0' in on-disk directory entry names.
|
|
the dirstat to be ignored by drop_dirstat.
|
|
|
|
|
|
|
|
even set NP if NPP is not set; use INUM as "lookup succeeded flag"
instead. Lookups for REMOVE now *must* set NPP.
|
|
(diskfs_get_directs): Fix print-format types.
|
|
initial function name argument (it's now supplied automagically).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|