bcachefs: Fix missing write refs in fs fio paths
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 13 Apr 2024 04:26:01 +0000 (00:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Apr 2024 02:48:17 +0000 (22:48 -0400)
commit9e203c43dc1cbaefb3888ee0ba885b2d20d47526
treebd0e429e2d3410b54b602edfe8875ed33866c00e
parent82cf18f23e1ae17053983e325e550194f947e1f1
bcachefs: Fix missing write refs in fs fio paths

bch2_journal_flush_seq requires us to have a write ref

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