bcachefs: Fix ec + durability calculation
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 25 Nov 2023 02:52:06 +0000 (21:52 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 26 Nov 2023 02:48:42 +0000 (21:48 -0500)
commite4f72bb46a774b449ffe864fa6fffa7ecbf8f3f7
tree590473c98a73f4bcdceadd5eaefd7e8747ff3c68
parent7d9f8468ff7589073981b3eb8b175945c7dcd13c
bcachefs: Fix ec + durability calculation

Durability of an erasure coded pointer doesn't add the device
durability; durability is the same for any extent in that stripe so the
calculation only comes from the stripe.

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