Author: stefan2 Date: Mon Jul 22 16:49:24 2013 New Revision: 1505729 URL: http://svn.apache.org/r1505729 Log: On the fsfs-improvements branch: Rename a debug function.
* subversion/libsvn_fs_fs/cached_data.c (dgb__log_access): rename to ... (dbg_log_access): ... this one (svn_fs_fs__get_node_revision, create_rep_state_body, read_delta_window, svn_fs_fs__get_changes): update callers Found by: philip Modified: subversion/branches/fsfs-improvements/subversion/libsvn_fs_fs/cached_data.c Modified: subversion/branches/fsfs-improvements/subversion/libsvn_fs_fs/cached_data.c URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-improvements/subversion/libsvn_fs_fs/cached_data.c?rev=1505729&r1=1505728&r2=1505729&view=diff ============================================================================== --- subversion/branches/fsfs-improvements/subversion/libsvn_fs_fs/cached_data.c (original) +++ subversion/branches/fsfs-improvements/subversion/libsvn_fs_fs/cached_data.c Mon Jul 22 16:49:24 2013 @@ -58,12 +58,12 @@ * For pre-format7 repos, the display will be restricted. */ static svn_error_t * -dgb__log_access(svn_fs_t *fs, - svn_revnum_t revision, - apr_off_t offset, - void *item, - int item_type, - apr_pool_t *scratch_pool) +dbg_log_access(svn_fs_t *fs, + svn_revnum_t revision, + apr_off_t offset, + void *item, + int item_type, + apr_pool_t *scratch_pool) { /* no-op if this macro is not defined */ #ifdef SVN_FS_FS__LOG_ACCESS @@ -375,12 +375,12 @@ svn_fs_fs__get_node_revision(node_revisi id_string->data); } - SVN_ERR(dgb__log_access(fs, - svn_fs_fs__id_rev(id), - svn_fs_fs__id_offset(id), - *noderev_p, - SVN_FS_FS__ITEM_TYPE_NODEREV, - pool)); + SVN_ERR(dbg_log_access(fs, + svn_fs_fs__id_rev(id), + svn_fs_fs__id_offset(id), + *noderev_p, + SVN_FS_FS__ITEM_TYPE_NODEREV, + pool)); return svn_error_trace(err); } @@ -648,8 +648,8 @@ create_rep_state_body(rep_state_t **rep_ *shared_file = file; } - SVN_ERR(dgb__log_access(fs, rep->revision, rep->offset, rh, - SVN_FS_FS__ITEM_TYPE_ANY_REP, pool)); + SVN_ERR(dbg_log_access(fs, rep->revision, rep->offset, rh, + SVN_FS_FS__ITEM_TYPE_ANY_REP, pool)); SVN_ERR(svn_fs_fs__read_rep_header(&rh, rs->file->stream, pool)); SVN_ERR(svn_fs_fs__get_file_offset(&rs->start, rs->file->file, pool)); @@ -1177,8 +1177,8 @@ read_delta_window(svn_txdelta_window_t * apr_off_t end_offset; SVN_ERR_ASSERT(rs->chunk_index <= this_chunk); - SVN_ERR(dgb__log_access(rs->file->fs, rs->revision, rs->offset, - NULL, SVN_FS_FS__ITEM_TYPE_ANY_REP, pool)); + SVN_ERR(dbg_log_access(rs->file->fs, rs->revision, rs->offset, + NULL, SVN_FS_FS__ITEM_TYPE_ANY_REP, pool)); /* someone has to actually read the data from file */ SVN_ERR(auto_read_diff_version(rs, pool)); @@ -2017,8 +2017,8 @@ svn_fs_fs__get_changes(apr_array_header_ if (ffd->changes_cache) SVN_ERR(svn_cache__set(ffd->changes_cache, &rev, *changes, pool)); - SVN_ERR(dgb__log_access(fs, rev, changes_offset, *changes, - SVN_FS_FS__ITEM_TYPE_CHANGES, pool)); + SVN_ERR(dbg_log_access(fs, rev, changes_offset, *changes, + SVN_FS_FS__ITEM_TYPE_CHANGES, pool)); return SVN_NO_ERROR; }