Commit b6d29b58 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: kill bch2_dev_bkey_exists() in journal_ptrs_to_text()

parent f4301b63
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -49,11 +49,6 @@ void bch2_journal_ptrs_to_text(struct printbuf *out, struct bch_fs *c,
			       struct journal_replay *j)
{
	darray_for_each(j->ptrs, i) {
		struct bch_dev *ca = bch2_dev_bkey_exists(c, i->dev);
		u64 offset;

		div64_u64_rem(i->sector, ca->mi.bucket_size, &offset);

		if (i != j->ptrs.data)
			prt_printf(out, " ");
		prt_printf(out, "%u:%u:%u (sector %llu)",