bcachefs: fix a possible bcachefs checksum mapping error opt-checksum enum to type...
authorJanpieter Sollie <janpieter.sollie@edpnet.be>
Sun, 13 Jun 2021 20:01:08 +0000 (22:01 +0200)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:06 +0000 (17:09 -0400)
commit120f63e321fa9fdb1837dd64fcd50e2b144b0d6d
tree3aa9771e7a05ff2a5961ca8de75bcd5b7a71e16d
parentbb6bbf4a06c57c064a95a8b0c7a9b0746187170a
bcachefs: fix a possible bcachefs checksum mapping error opt-checksum enum to type-checksum enum

This fixes some rare cases where the metadata checksum option specified
may map to the wrong actual checksum type.

Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c