FreeBSD/contrib/subversion/subversion/libsvn_repos/repos.c
/* For BDB we fall back on BDB's repos layer lock which means that the
   repository is unreadable while frozen.

   For FSFS we delegate to the FS layer which uses the FSFS write-lock
   and an SQLite reserved lock which means the repository is readable
   while frozen. */
For BDB we fall back on BDB's repos layer lock which means that the
repository is unreadable while frozen.

For FSFS we delegate to the FS layer which uses the FSFS write-lock
and an SQLite reserved lock which means the repository is readable
while frozen.
For BDB we fall back on BDB ' s repos layer lock which means that the repository is unreadable while frozen . For FSFS we delegate to the FS layer which uses the FSFS write - lock and an SQLite reserved lock which means the repository is readable while frozen .
svn_error_t *
svn_repos_freeze(apr_array_header_t *paths,
                 svn_repos_freeze_func_t freeze_func,
                 void *freeze_baton,
                 apr_pool_t *pool)
{
  struct freeze_baton_t fb;
  fb.paths = paths;
  fb.counter = 0;
  fb.freeze_func = freeze_func;
  fb.freeze_baton = freeze_baton;
  fb.scratch_pool = svn_pool_create(pool);
  SVN_ERR(multi_freeze(&fb, pool));
  svn_pool_destroy(fb.scratch_pool);
  return SVN_NO_ERROR;
}
svn_error_t * svn_repos_freeze ( apr_array_header_t * paths , svn_repos_freeze_func_t freeze_func , void * freeze_baton , apr_pool_t * pool ) { struct freeze_baton_t fb ; fb . paths = paths ; fb . counter = 0 ; fb . freeze_func = freeze_func ; fb . freeze_baton = freeze_baton ; fb . scratch_pool = svn_pool_create ( pool ) ; SVN_ERR ( multi_freeze ( & fb , pool ) ) ; svn_pool_destroy ( fb . scratch_pool ) ; return SVN_NO_ERROR ; }
For BDB we fall back on BDB's repos layer lock which means that the
repository is unreadable while frozen.
For BDB we fall back on BDB ' s repos layer lock which means that the repository is unreadable while frozen .