bcachefs: Add a bch_page_state assert
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 27 Mar 2023 19:16:24 +0000 (15:16 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:59 +0000 (17:09 -0400)
commitc437e1537916e3c0fcc04387888e402a5940e49c
treef53c390df1b3987f03e67d541db587cc3b06e3dc
parent2776369266ad04095204128d72cf0d429b5fb678
bcachefs: Add a bch_page_state assert

Seeing an odd bug with page/folio state not being properly initialized,
this is to help track it down.

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