aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index be643e588067..0df5045abd3b 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -247,10 +247,9 @@ xfs_free_perag(
247 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { 247 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) {
248 spin_lock(&mp->m_perag_lock); 248 spin_lock(&mp->m_perag_lock);
249 pag = radix_tree_delete(&mp->m_perag_tree, agno); 249 pag = radix_tree_delete(&mp->m_perag_tree, agno);
250 ASSERT(pag);
250 ASSERT(atomic_read(&pag->pag_ref) == 0); 251 ASSERT(atomic_read(&pag->pag_ref) == 0);
251 spin_unlock(&mp->m_perag_lock); 252 spin_unlock(&mp->m_perag_lock);
252 ASSERT(pag);
253 kmem_free(pag->pagb_list);
254 kmem_free(pag); 253 kmem_free(pag);
255 } 254 }
256} 255}