bcachefs: Convert journal validation to bkey_invalid_flags
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 6 Aug 2023 16:43:31 +0000 (12:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:10 +0000 (17:10 -0400)
commitc4e382e234778197c95c5553024e0b3f93103382
tree061718edfcf8b72b97f14f8460f0b326df2c5269
parenta8712967bf07dace4d6660bdcfe939b9043f1f16
bcachefs: Convert journal validation to bkey_invalid_flags

This fixes a bug where we were already passing bkey_invalid_flags
around, but treating the parameter as just read/write - so the compat
code wasn't being run correctly.

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