You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/05/15 17:02:05 UTC
svn commit: r1103419 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c
Author: stefan2
Date: Sun May 15 15:02:04 2011
New Revision: 1103419
URL: http://svn.apache.org/viewvc?rev=1103419&view=rev
Log:
* subversion/libsvn_fs_fs/caching.c
(remove_txn_cache): improve commentary
Found by: danielsh
Modified:
subversion/trunk/subversion/libsvn_fs_fs/caching.c
Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1103419&r1=1103418&r2=1103419&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Sun May 15 15:02:04 2011
@@ -349,9 +349,12 @@ remove_txn_cache(void *baton_void)
{
struct txn_cleanup_baton_t *baton = baton_void;
- /* be careful not to hurt performance by resetting newer txn's caches */
+ /* be careful not to hurt performance by resetting newer txn's caches. */
if (*baton->to_reset == baton->txn_cache)
- *baton->to_reset = NULL;
+ {
+ /* This is equivalent to calling svn_fs_fs__reset_txn_caches(). */
+ *baton->to_reset = NULL;
+ }
return APR_SUCCESS;
}