diff options
Diffstat (limited to 'fs/xfs')
| -rw-r--r-- | fs/xfs/xfs_itable.c | 2 | ||||
| -rw-r--r-- | fs/xfs/xfs_mount.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c index 7775ddc0b3c6..e725ddd3de5f 100644 --- a/fs/xfs/xfs_itable.c +++ b/fs/xfs/xfs_itable.c | |||
| @@ -809,7 +809,7 @@ xfs_inumbers( | |||
| 809 | xfs_buf_relse(agbp); | 809 | xfs_buf_relse(agbp); |
| 810 | agbp = NULL; | 810 | agbp = NULL; |
| 811 | /* | 811 | /* |
| 812 | * Move up the the last inode in the current | 812 | * Move up the last inode in the current |
| 813 | * chunk. The lookup_ge will always get | 813 | * chunk. The lookup_ge will always get |
| 814 | * us the first inode in the next chunk. | 814 | * us the first inode in the next chunk. |
| 815 | */ | 815 | */ |
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index f5aa3ef855fb..a96bde6df96d 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c | |||
| @@ -1734,11 +1734,13 @@ xfs_icsb_cpu_notify( | |||
| 1734 | per_cpu_ptr(mp->m_sb_cnts, (unsigned long)hcpu); | 1734 | per_cpu_ptr(mp->m_sb_cnts, (unsigned long)hcpu); |
| 1735 | switch (action) { | 1735 | switch (action) { |
| 1736 | case CPU_UP_PREPARE: | 1736 | case CPU_UP_PREPARE: |
| 1737 | case CPU_UP_PREPARE_FROZEN: | ||
| 1737 | /* Easy Case - initialize the area and locks, and | 1738 | /* Easy Case - initialize the area and locks, and |
| 1738 | * then rebalance when online does everything else for us. */ | 1739 | * then rebalance when online does everything else for us. */ |
| 1739 | memset(cntp, 0, sizeof(xfs_icsb_cnts_t)); | 1740 | memset(cntp, 0, sizeof(xfs_icsb_cnts_t)); |
| 1740 | break; | 1741 | break; |
| 1741 | case CPU_ONLINE: | 1742 | case CPU_ONLINE: |
| 1743 | case CPU_ONLINE_FROZEN: | ||
| 1742 | xfs_icsb_lock(mp); | 1744 | xfs_icsb_lock(mp); |
| 1743 | xfs_icsb_balance_counter(mp, XFS_SBS_ICOUNT, 0, 0); | 1745 | xfs_icsb_balance_counter(mp, XFS_SBS_ICOUNT, 0, 0); |
| 1744 | xfs_icsb_balance_counter(mp, XFS_SBS_IFREE, 0, 0); | 1746 | xfs_icsb_balance_counter(mp, XFS_SBS_IFREE, 0, 0); |
| @@ -1746,6 +1748,7 @@ xfs_icsb_cpu_notify( | |||
| 1746 | xfs_icsb_unlock(mp); | 1748 | xfs_icsb_unlock(mp); |
| 1747 | break; | 1749 | break; |
| 1748 | case CPU_DEAD: | 1750 | case CPU_DEAD: |
| 1751 | case CPU_DEAD_FROZEN: | ||
| 1749 | /* Disable all the counters, then fold the dead cpu's | 1752 | /* Disable all the counters, then fold the dead cpu's |
| 1750 | * count into the total on the global superblock and | 1753 | * count into the total on the global superblock and |
| 1751 | * re-enable the counters. */ | 1754 | * re-enable the counters. */ |
