bcachefs: bch2_version_compatible()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 29 Jun 2023 00:27:07 +0000 (20:27 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:05 +0000 (17:10 -0400)
commita02a0121b3de81f985d6c751f1557c7aea832b9a
treebe6dcc255c2c8b389fa9743345e4b91ce2dfb40d
parente3804b55e4358cf5a235fa1ba32204af9f7046dd
bcachefs: bch2_version_compatible()

This adds a new helper for checking if an on-disk version is compatible
with the running version of bcachefs - prep work for introducing
major:minor version numbers.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_io.c
fs/bcachefs/journal_io.c
fs/bcachefs/super-io.c
fs/bcachefs/super-io.h