bcachefs: Fix stripe create error path
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 13 Mar 2023 13:53:04 +0000 (09:53 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:57 +0000 (17:09 -0400)
commitaebe7a679cbdd827769e85f632562a66d2a2b9f3
tree5a2e4efe759480e4e8b473d9c43899b20a62fe3e
parentae1f56238d55ad6d16564455559d1fa9a8cea2f6
bcachefs: Fix stripe create error path

If we errored out on a new stripe before fully allocating it, we
shouldn't be zeroing out unwritten data.

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