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, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index 10dbf203c62f..22d3a1c75474 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -2026,7 +2026,7 @@ xfs_icsb_balance_counter(
2026 xfs_sb_field_t field, 2026 xfs_sb_field_t field,
2027 int flags) 2027 int flags)
2028{ 2028{
2029 uint64_t count, resid = 0; 2029 uint64_t count, resid;
2030 int weight = num_online_cpus(); 2030 int weight = num_online_cpus();
2031 int s; 2031 int s;
2032 2032
@@ -2058,6 +2058,7 @@ xfs_icsb_balance_counter(
2058 break; 2058 break;
2059 default: 2059 default:
2060 BUG(); 2060 BUG();
2061 count = resid = 0; /* quiet, gcc */
2061 break; 2062 break;
2062 } 2063 }
2063 2064