diff options
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r-- | fs/xfs/xfs_itable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 62efab2f3839..521bc20be555 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
@@ -420,9 +420,9 @@ xfs_bulkstat( | |||
420 | while (XFS_BULKSTAT_UBLEFT(ubleft) && agno < mp->m_sb.sb_agcount) { | 420 | while (XFS_BULKSTAT_UBLEFT(ubleft) && agno < mp->m_sb.sb_agcount) { |
421 | cond_resched(); | 421 | cond_resched(); |
422 | bp = NULL; | 422 | bp = NULL; |
423 | down_read(&mp->m_peraglock); | 423 | anon_down_read(&mp->m_peraglock); |
424 | error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); | 424 | error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); |
425 | up_read(&mp->m_peraglock); | 425 | anon_up_read(&mp->m_peraglock); |
426 | if (error) { | 426 | if (error) { |
427 | /* | 427 | /* |
428 | * Skip this allocation group and go to the next one. | 428 | * Skip this allocation group and go to the next one. |
@@ -849,9 +849,9 @@ xfs_inumbers( | |||
849 | agbp = NULL; | 849 | agbp = NULL; |
850 | while (left > 0 && agno < mp->m_sb.sb_agcount) { | 850 | while (left > 0 && agno < mp->m_sb.sb_agcount) { |
851 | if (agbp == NULL) { | 851 | if (agbp == NULL) { |
852 | down_read(&mp->m_peraglock); | 852 | anon_down_read(&mp->m_peraglock); |
853 | error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); | 853 | error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); |
854 | up_read(&mp->m_peraglock); | 854 | anon_up_read(&mp->m_peraglock); |
855 | if (error) { | 855 | if (error) { |
856 | /* | 856 | /* |
857 | * If we can't read the AGI of this ag, | 857 | * If we can't read the AGI of this ag, |