afs: Fix some afs_conn overcounts
[openafs.git] / src / afs / afs_bypasscache.c
index f452638..4c6fb9a 100644 (file)
@@ -621,6 +621,7 @@ afs_PrefetchNoCache(struct vcache *avc,
            } else {
                afs_warn("BYPASS: StartRXAFS_FetchData failed: %d\n", code);
                unlock_and_release_pages(auio);
+               afs_PutConn(tc, rxconn, SHARED_LOCK);
                goto done;
            }
            if (code == 0) {