summaryrefslogtreecommitdiff
path: root/libftpconn
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-08-23 04:02:13 +0000
committerRoland McGrath <roland@gnu.org>1999-08-23 04:02:13 +0000
commit6753fba60daba2396cd2d05dd772403a29d4e2b6 (patch)
tree4baa1741432eea5e4944a0ec140312fe3a368688 /libftpconn
parentf828ccbaf0acb13a1b26b368663dce67e6fbb720 (diff)
1999-08-23 Roland McGrath <roland@baalperazim.frob.com>
* balloc.c (ext2_free_blocks): Handle freeing across group boundary, as Linux 2.3.14 does. * balloc.c (ext2_check_blocks_bitmap): If RO_COMPAT_SPARSE_SUPER feature flag is set, or if group number is not a power of 3, 5, or 7 (I don't know why; this is what Linux 2.3.14 does), skip tests for superblocks and descriptor blocks being free in bitmap. * 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).
Diffstat (limited to 'libftpconn')
0 files changed, 0 insertions, 0 deletions