File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/emc/ecs/nfsclient/nfs/io Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public LinkTracker() {
6363 * If there are too many links in the chain (more than
6464 * MAXSYMLINKS)
6565 */
66- final F addLink (String path ) throws IOException {
66+ synchronized final F addLink (String path ) throws IOException {
6767 if (++linksTraversed > MAXSYMLINKS ) {
6868 throw new IllegalArgumentException ("Too many links to follow (> " + MAXSYMLINKS + ")." );
6969 }
@@ -92,7 +92,7 @@ final F addLink(String path) throws IOException {
9292 * @param file
9393 * The file to which that link was finally resolved.
9494 */
95- public void addResolvedPath (String path , F file ) {
95+ synchronized void addResolvedPath (String path , F file ) {
9696 _resolvedPaths .put (path , file );
9797 _unresolvedPaths .remove (path );
9898 }
You can’t perform that action at this time.
0 commit comments