bcachefs: Don't allocate stripes at POS_MIN
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 19 Jan 2021 01:20:24 +0000 (20:20 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:51 +0000 (17:08 -0400)
commit33ccd7188e37ad5d9d662e7450610768bc8cc8a9
tree174cb0eeae13657ac8247b4e4c388846bbaee0cb
parent6c7585b098c519c157cca4ca1c974321f3903ad4
bcachefs: Don't allocate stripes at POS_MIN

In the future, stripe index 0 will be a sentinal value. This patch
doesn't disallow stripes at POS_MIN yet, leaving that for when we do the
on disk format changes.

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