aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/truncate.c
Commit message (Collapse)AuthorAgeFilesLines
* 2000-10-01 Roland McGrath <roland@frob.com>Roland McGrath2000-12-031-2/+2
| | | | * truncate.c (diskfs_truncate): Use & instead of %.
* 2000-07-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-07-261-1/+1
| | | | * truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
* 2000-07-25 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-07-251-1/+4
| | | | | * truncate.c (trunc_indirect): Before freeing an indirect block, remove it from the disk pager's kernel cache.
* 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-101-3/+3
| | | | | | | | | * 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-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-031-6/+8
| | | | | * truncate.c (diskfs_truncate): Add missing call to diskfs_end_catch_exception.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-131-1/+1
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-081-1/+1
| | | | | | | | * 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-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-2/+2
| | | | | | | | | | | | | | * 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.
* Wed Aug 20 14:28:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-201-4/+10
| | | | | | | | | | | * 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.
* (diskfs_truncate): Allow any sort of node to have a size without any blocksMiles Bader1996-08-151-3/+4
| | | | (as linux apparently does this sometimes with devices).
* (diskfs_truncate): For in-inode symlinks, just frob the size.Miles Bader1996-08-121-0/+11
|
* (trunc_direct): Fix ext2_debug call.Miles Bader1996-08-021-1/+1
|
* (diskfs_truncate): Don't record debugging info.Miles Bader1996-07-201-2/+0
|
* (diskfs_truncate): Likewise.Miles Bader1996-07-171-0/+2
|
* (diskfs_truncate): Add call diskfs_check_readonly to clear clean bit.Miles Bader1996-06-251-1/+2
|
* (diskfs_truncate): Don't set last_block_allocated.Miles Bader1996-01-181-3/+2
|
* (enable_delayed_copies, force_delayed_copies):Miles Bader1995-10-201-16/+16
| | | | | Replace fileinfo field with pager. (force_delayed_copies): Give diskfs_get_filemap a protection arg.
* (trunc_indirect): Only record an indirect block as being modified when itMiles Bader1995-09-151-1/+2
| | | | actually is.
* (diskfs_truncate): Use the new truncate functions.Miles Bader1995-09-151-250/+158
| | | | | | | | | | | | | | | | (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.
* (force_delayed_copies, enable_delayed_copies): Change pager [un]ref calls toMiles Bader1995-06-241-4/+4
| | | | use the new ports ref calls directly instead.
* entered into RCSMiles Bader1995-05-091-1/+1
|
* Formerly truncate.c.~17~Miles Bader1995-05-011-83/+85
|
* Formerly truncate.c.~16~Miles Bader1995-04-291-9/+5
|
* Formerly truncate.c.~15~Miles Bader1995-04-261-14/+4
|
* Formerly truncate.c.~14~Miles Bader1995-04-241-3/+3
|
* Formerly truncate.c.~13~Miles Bader1995-04-201-9/+8
|
* Formerly truncate.c.~12~Miles Bader1995-04-191-2/+4
|
* Formerly truncate.c.~11~Miles Bader1995-04-171-61/+93
|
* Formerly truncate.c.~10~Miles Bader1995-04-161-5/+5
|
* Formerly truncate.c.~9~Miles Bader1995-04-161-5/+5
|
* Formerly truncate.c.~8~Miles Bader1995-04-161-5/+5
|
* Formerly truncate.c.~7~Miles Bader1995-04-161-4/+4
|
* Formerly truncate.c.~6~Miles Bader1995-04-161-1/+1
|
* Formerly truncate.c.~5~Miles Bader1995-04-151-149/+207
|
* Formerly truncate.c.~4~Miles Bader1995-04-131-318/+305
|
* Formerly truncate.c.~3~Miles Bader1995-04-131-10/+10
|
* Formerly truncate.c.~2~Miles Bader1995-04-111-6/+6
|
* Initial revisionMiles Bader1995-04-111-0/+370