FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/fs_fs.c
/* Read / Evaluate the global configuration in FS->CONFIG to set up
 * parameters in FS. */
Read / Evaluate the global configuration in FS->CONFIG to set up
parameters in FS.
Read / Evaluate the global configuration in FS - > CONFIG to set up parameters in FS .
static svn_error_t *
read_global_config(svn_fs_t *fs)
{
  fs_fs_data_t *ffd = fs->fsap_data;
  if (fs->config)
    ffd->use_block_read = svn_hash__get_bool(fs->config,
                                             SVN_FS_CONFIG_FSFS_BLOCK_READ,
                                             FALSE);
  else
    ffd->use_block_read = FALSE;
  if (!ffd->use_block_read)
    ffd->block_size = MIN(0x1000, ffd->block_size);
  return SVN_NO_ERROR;
}
static svn_error_t * read_global_config ( svn_fs_t * fs ) { fs_fs_data_t * ffd = fs -> fsap_data ; if ( fs -> config ) ffd -> use_block_read = svn_hash__get_bool ( fs -> config , SVN_FS_CONFIG_FSFS_BLOCK_READ , FALSE ) ; else ffd -> use_block_read = FALSE ; if ( ! ffd -> use_block_read ) ffd -> block_size = MIN ( 0x1000 , ffd -> block_size ) ; return SVN_NO_ERROR ; }
Read / Evaluate the global configuration in FS->CONFIG to set up
 parameters in FS.
Read / Evaluate the global configuration in FS - > CONFIG to set up parameters in FS .
/* Providing a config hash is optional. */ /* Ignore the user-specified larger block size if we don't use block-read.
     Defaulting to 4k gives us the same access granularity in format 7 as in
     older formats. */