bcachefs: Fix stripe_idx_to_delete()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 11 Jul 2019 16:45:59 +0000 (12:45 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:24 +0000 (17:08 -0400)
commitf516c87272c98186f12768e9589664ce7a910bf4
tree2b549b7b11d75d9543d6b056f7eec5094c2606d2
parent97fd13ad769c24260ce0e05f05a51df132b980bd
bcachefs: Fix stripe_idx_to_delete()

There was a null ptr deref when there wasn't a stripes heap allocated

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c
fs/bcachefs/super.c