bcachefs: Fix bch2_journal_flush_device_pins()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 7 Mar 2022 06:35:55 +0000 (01:35 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:48 +0000 (17:09 -0400)
commita2b9a5b272f2bbfc3988f4b5c8e92d9951885bcb
treecc42e131683da099cd4eb3ec6bdc22fa9f10df73
parente242b92af5ef74cdf40b237c9e904034c081b144
bcachefs: Fix bch2_journal_flush_device_pins()

It's now legal for the pin fifo to be empty, which means this code needs
to be updated in order to not hit an assert.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/journal_reclaim.c