diff options
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_mount.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index aeb9d72ebf6e..00c7a876807d 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
@@ -210,8 +210,6 @@ xfs_perag_get(struct xfs_mount *mp, xfs_agnumber_t agno) | |||
210 | pag = radix_tree_lookup(&mp->m_perag_tree, agno); | 210 | pag = radix_tree_lookup(&mp->m_perag_tree, agno); |
211 | if (pag) { | 211 | if (pag) { |
212 | ASSERT(atomic_read(&pag->pag_ref) >= 0); | 212 | ASSERT(atomic_read(&pag->pag_ref) >= 0); |
213 | /* catch leaks in the positive direction during testing */ | ||
214 | ASSERT(atomic_read(&pag->pag_ref) < 1000); | ||
215 | ref = atomic_inc_return(&pag->pag_ref); | 213 | ref = atomic_inc_return(&pag->pag_ref); |
216 | } | 214 | } |
217 | spin_unlock(&mp->m_perag_lock); | 215 | spin_unlock(&mp->m_perag_lock); |