aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/getblk.c
Commit message (Collapse)AuthorAgeFilesLines
* 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-101-4/+4
| | | | | | | | | * 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-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-08-231-7/+11
| | | | | | | | | | | | | * balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL. Use that instead of hard-coded 8 as maximum of blocks to preallocate. Also test that instead of PREALLOC_COUNT to decide whether to try any preallocation at all. * getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block. Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8); For a regular file, use SBLOCK->s_prealloc_blocks before default. For a directory, use SBLOCK->s_dir_prealloc_blocks if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero. * inode.c (diskfs_set_translator): Pass new arg (zero).
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-231-5/+5
| | | | | | | * ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning. * getblk.c (ext2_getblk): Likewise. * balloc.c (ext2_free_blocks): Likewise. * hyper.c (get_hypermetadata): Likewise.
* Replace references to the NUMBER field in a node's disknode structures withMiles Bader1996-04-111-2/+2
| | | | references to the CACHE_ID field in the node.
* (inode_getblk, block_getblk): Set dn_set_mtime too.Miles Bader1996-01-141-2/+2
|
* u32 --> block_tMiles Bader1995-09-151-7/+6
|
* Change uses of the ext2_{warning,error,panic} functions to not have theMiles Bader1995-05-121-1/+1
| | | | initial function name argument (it's now supplied automagically).
* (block_getblk, inode_getblk): Return ENOSPC instead of EIO when we can'tMiles Bader1995-05-101-2/+2
| | | | allocate a new block.
* entered into RCSMiles Bader1995-05-091-1/+1
|
* Formerly getblk.c.~15~Miles Bader1995-05-011-1/+4
|
* Formerly getblk.c.~14~Miles Bader1995-04-291-78/+68
|
* Formerly getblk.c.~13~Miles Bader1995-04-271-6/+14
|
* Formerly getblk.c.~12~Miles Bader1995-04-241-1/+1
|
* Formerly getblk.c.~11~Miles Bader1995-04-221-1/+3
|
* Formerly getblk.c.~10~Miles Bader1995-04-201-2/+2
|
* Formerly getblk.c.~9~Miles Bader1995-04-171-16/+15
|
* Formerly getblk.c.~8~Miles Bader1995-04-161-13/+17
|
* Formerly getblk.c.~7~Miles Bader1995-04-161-5/+5
|
* Formerly getblk.c.~6~Miles Bader1995-04-161-5/+5
|
* Formerly getblk.c.~5~Miles Bader1995-04-161-5/+5
|
* Formerly getblk.c.~4~Miles Bader1995-04-151-69/+71
|
* Formerly getblk.c.~3~Miles Bader1995-04-121-238/+71
|
* Formerly getblk.c.~2~Miles Bader1995-04-121-374/+391
|
* Initial revisionMiles Bader1995-04-121-0/+442