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 2014/12/28 18:36:19 UTC

svn commit: r1648230 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

Author: stefan2
Date: Sun Dec 28 17:36:19 2014
New Revision: 1648230

URL: http://svn.apache.org/r1648230
Log:
Follow-up to r1645567.

* subversion/libsvn_fs_fs/tree.c
  (open_path): We always return DAG nodes locked in the cached.
               Be consistent with that in the short-cut case.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/tree.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/tree.c?rev=1648230&r1=1648229&r2=1648230&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Sun Dec 28 17:36:19 2014
@@ -1084,6 +1084,9 @@ open_path(parent_path_t **parent_path_p,
               parent_path->copy_inherit = copy_id_inherit_self;
               *parent_path_p = parent_path;
 
+              /* We did not use dag_node_cache_get(). Lock manually. */
+              lock_cache(ffd->dag_node_cache, pool);
+
               return SVN_NO_ERROR;
             }
         }