|
@@ -210,8 +210,6 @@ xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno)
|
|
pag = radix_tree_lookup(&mp->m_perag_tree, agno);
|
|
pag = radix_tree_lookup(&mp->m_perag_tree, agno);
|
|
if (pag) {
|
|
if (pag) {
|
|
ASSERT(atomic_read(&pag->pag_ref) >= 0);
|
|
ASSERT(atomic_read(&pag->pag_ref) >= 0);
|
|
- /* catch leaks in the positive direction during testing */
|
|
|
|
- ASSERT(atomic_read(&pag->pag_ref) < 1000);
|
|
|
|
ref = atomic_inc_return(&pag->pag_ref);
|
|
ref = atomic_inc_return(&pag->pag_ref);
|
|
}
|
|
}
|
|
spin_unlock(&mp->m_perag_lock);
|
|
spin_unlock(&mp->m_perag_lock);
|