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 ed7579beb6b0..4be5c0b2d296 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -2028,7 +2028,7 @@ xfs_icsb_balance_counter(
2028 xfs_sb_field_t field, 2028 xfs_sb_field_t field,
2029 int flags) 2029 int flags)
2030{ 2030{
2031 uint64_t count, resid = 0; 2031 uint64_t count, resid;
2032 int weight = num_online_cpus(); 2032 int weight = num_online_cpus();
2033 int s; 2033 int s;
2034 2034
@@ -2060,6 +2060,7 @@ xfs_icsb_balance_counter(
2060 break; 2060 break;
2061 default: 2061 default:
2062 BUG(); 2062 BUG();
2063 count = resid = 0; /* quiet, gcc */
2063 break; 2064 break;
2064 } 2065 }
2065 2066