summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-07-07 16:30:54 -0700
committerBrian Behlendorf <[email protected]>2009-07-07 16:30:54 -0700
commit0e310d30de8a39aef54a975fdabb2c0b4eeccab9 (patch)
tree22de14bcb48ebafdaa9a7091b52d248711b83850 /module
parent55b864f19b66a284bbbc1c3c7972491d4488d051 (diff)
parentebda366c1c179d499b8d1704c83254c320889e00 (diff)
Merge branch 'gcc-missing-case' into refs/top-bases/gcc-branch
Diffstat (limited to 'module')
-rw-r--r--module/zfs/spa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c
index 5f9408dfd..139a670d4 100644
--- a/module/zfs/spa.c
+++ b/module/zfs/spa.c
@@ -1138,6 +1138,8 @@ int
spa_check_logs(spa_t *spa)
{
switch (spa->spa_log_state) {
+ default:
+ break;
case SPA_LOG_MISSING:
/* need to recheck in case slog has been restored */
case SPA_LOG_UNKNOWN: