summaryrefslogtreecommitdiff
path: root/ext2fs/truncate.c
AgeCommit message (Collapse)Author
2000-12-032000-10-01 Roland McGrath <roland@frob.com>Roland McGrath
* truncate.c (diskfs_truncate): Use & instead of %.
2000-07-262000-07-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
2000-07-252000-07-25 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* truncate.c (trunc_indirect): Before freeing an indirect block, remove it from the disk pager's kernel cache.
2000-03-102000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* balloc.c (ext2_free_blocks, ext2_new_block): Fix formats to avoid -Wformat warnings. * getblk.c (ext2_alloc_block, inode_getblk, ext2_getblk): Likewise. * ialloc.c (ext2_count_free_inodes): Likewise. * truncate.c (trunc_direct): Likewise. * pager.c (pending_blocks_write, diskfs_grow): Likewise.
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* truncate.c (diskfs_truncate): Add missing call to diskfs_end_catch_exception.
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
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. * hyper.c (allocate_mod_map): Likewise. (get_hypermetadata): Likewise. * pager.c (free_page_buf): Likewise. * truncate.c (poke_pages): 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-15(diskfs_truncate): Allow any sort of node to have a size without any blocksMiles Bader
(as linux apparently does this sometimes with devices).
1996-08-12(diskfs_truncate): For in-inode symlinks, just frob the size.Miles Bader
1996-08-02(trunc_direct): Fix ext2_debug call.Miles Bader
1996-07-20(diskfs_truncate): Don't record debugging info.Miles Bader
1996-07-17(diskfs_truncate): Likewise.Miles Bader
1996-06-25(diskfs_truncate): Add call diskfs_check_readonly to clear clean bit.Miles Bader
1996-01-18(diskfs_truncate): Don't set last_block_allocated.Miles Bader
1995-10-20(enable_delayed_copies, force_delayed_copies):Miles Bader
Replace fileinfo field with pager. (force_delayed_copies): Give diskfs_get_filemap a protection arg.
1995-09-15(trunc_indirect): Only record an indirect block as being modified when itMiles Bader
actually is.
1995-09-15(diskfs_truncate): Use the new truncate functions.Miles Bader
(poke_pages): Gratuitous cosmetic changes. (trunc_direct): Rewritten, new args. (trunc_indirect): Rewritten, new args, now more general to support all the various indirection levels. (trunc_triple_indirect, trunc_double_indirect, trunc_single_indirect): New functions. (struct free_block_run): New structure. (free_block_run_finish, free_block_run_free_ptr, free_block_run_add, free_block_run_init, _free_block_run_flush): New functions. (trunc_dindirect, trunc_tindirect): Functions deleted. (DIRECT_BLOCK, INDIRECT_BLOCK, DINDIRECT_BLOCK, TINDIRECT_BLOCK): Macros deleted.
1995-06-24(force_delayed_copies, enable_delayed_copies): Change pager [un]ref calls toMiles Bader
use the new ports ref calls directly instead.
1995-05-09entered into RCSMiles Bader
1995-05-01Formerly truncate.c.~17~Miles Bader
1995-04-29Formerly truncate.c.~16~Miles Bader
1995-04-26Formerly truncate.c.~15~Miles Bader
1995-04-24Formerly truncate.c.~14~Miles Bader
1995-04-20Formerly truncate.c.~13~Miles Bader
1995-04-19Formerly truncate.c.~12~Miles Bader
1995-04-17Formerly truncate.c.~11~Miles Bader
1995-04-16Formerly truncate.c.~10~Miles Bader
1995-04-16Formerly truncate.c.~9~Miles Bader
1995-04-16Formerly truncate.c.~8~Miles Bader
1995-04-16Formerly truncate.c.~7~Miles Bader
1995-04-16Formerly truncate.c.~6~Miles Bader
1995-04-15Formerly truncate.c.~5~Miles Bader
1995-04-13Formerly truncate.c.~4~Miles Bader
1995-04-13Formerly truncate.c.~3~Miles Bader
1995-04-11Formerly truncate.c.~2~Miles Bader
1995-04-11Initial revisionMiles Bader