bcachefs: Fix bch2_journal_seq_blacklist_add()
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 4 Jan 2022 05:07:23 +0000 (00:07 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:21 +0000 (17:09 -0400)
commit98c80d6df67168035e4e84080959f070e9055bd2
tree8507ead1b342854707a632f9c9111938431e6160
parent365f64f36c55b79d8510a5f476b2740a22c682eb
bcachefs: Fix bch2_journal_seq_blacklist_add()

The old code correctly handled the case where we were blacklisting a
range that exactly matched an existing entry, but not the case where the
new range partially overlaps an existing entry.

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