Searched hist:"488 f673023be9a0a5d3f2078e294ff3be907efe0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-map-tests.c | diff 488f673023be9a0a5d3f2078e294ff3be907efe0 Fri Mar 15 12:06:16 CDT 2019 David Sterba <dsterba@suse.com> btrfs: tests: return errors from extent map tests
The individual testcases for extent maps do not return an error on allocation failures. This is not a big problem as the allocation don't fail in general but there are functional tests handled with ASSERTS. This makes tests dependent on them and it's not reliable.
This patch adds the allocation failure handling and allows for the conversion of the asserts to proper error handling and reporting.
Signed-off-by: David Sterba <dsterba@suse.com>
|