summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/journal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/journal.c')
-rw-r--r--drivers/md/bcache/journal.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c
index 4239844b6dec..4734caec178d 100644
--- a/drivers/md/bcache/journal.c
+++ b/drivers/md/bcache/journal.c
@@ -610,6 +610,11 @@ static enum {
"invalid journal seq blacklist entry: bad size");
break;
+ default:
+ cache_inconsistent(ca,
+ "invalid journal entry type %llu",
+ JOURNAL_ENTRY_TYPE(entry));
+ break;
}
}