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>
This commit is contained in:
Kent Overstreet 2019-07-11 12:45:59 -04:00 • committed by Kent Overstreet
commit f516c87272
2 changed files with 3 additions and 1 deletions