]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: assert RAID stripe-extent length is always greater than 0
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 13 Jan 2025 19:31:44 +0000 (20:31 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Jan 2025 14:48:56 +0000 (15:48 +0100)
commit5a0e38eab76991562e0754a93c2c4160819efb03
tree125752940dcba5ced1ef2d83cb8f08587c69916e
parent9257d8632a36d02f02a94e674238bcc1b16db8b3
btrfs: assert RAID stripe-extent length is always greater than 0

When modifying a RAID stripe-extent, ASSERT() that the length of the new
RAID stripe-extent is always greater than 0.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid-stripe-tree.c