bcachefs: Fix bch2_journal_flush_device_pins()
If a journal write errored, the list of devices it was written to couldbe empty - we're not supposed to mark an empty replicas list.Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet 2 years ago 097471f9 b58b1b88