Re: [PATCH v3] btrfs: tests: add selftests for RAID stripe-tree

From: Johannes Thumshirn
Date: Wed Oct 02 2024 - 10:52:12 EST


On 02.10.24 16:24, Filipe Manana wrote:
>> + for (int i = 0; i < RST_TEST_NUM_DEVICES; i++) {
>> + struct btrfs_device *dev;
>> +
>> + dev = btrfs_alloc_dummy_device(fs_info);
> Still missing the error check, it can fail with ERR_PTR(-ENOMEM).
>
> With that fixed:
>
> Reviewed-by: Filipe Manana<fdmanana@xxxxxxxx>

Oops, fixed.