diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-12-18 11:54:56 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-01-18 21:41:29 -0900 |
commit | e69ab7fc6c99362ed763d1a166009b26da2befc9 (patch) | |
tree | 91f6b2728a3e79a8971bab6a703d92e6173f8804 | |
parent | 554f46241edf9a2c43af7fd5b7d54a70d91aac20 (diff) |
bcache: a bit more journal validation
-rw-r--r-- | drivers/md/bcache/journal.c | 5 |
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; } } |