Age | Commit message (Collapse) | Author |
|
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|