/* This implements the fs_library_vtable_t.uprade_fs() API. */ static svn_error_t * fs_upgrade(svn_fs_t *fs, const char *path, apr_pool_t *pool, apr_pool_t *common_pool) { SVN_ERR(svn_fs__check_fs(fs, FALSE)); initialize_fs_struct(fs); SVN_ERR(svn_fs_fs__open(fs, path, pool)); SVN_ERR(fs_serialized_init(fs, common_pool, pool)); return svn_fs_fs__upgrade(fs, pool); }
/* This implements the fs_library_vtable_t.upgrade_fs() API. */ static svn_error_t * fs_upgrade(svn_fs_t *fs, const char *path, svn_fs_upgrade_notify_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, svn_mutex__t *common_pool_lock, apr_pool_t *pool, apr_pool_t *common_pool) { SVN_ERR(fs_open(fs, path, common_pool_lock, pool, common_pool)); return svn_fs_fs__upgrade(fs, notify_func, notify_baton, cancel_func, cancel_baton, pool); }