btrfs: tests: return errors from extent map test case 2
authorDavid Sterba <dsterba@suse.com>
Fri, 15 Mar 2019 17:41:06 +0000 (18:41 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:27 +0000 (19:02 +0200)
commite71f2e17e8c9f9d4cf51a1ade535d65670d93c72
tree1f97ce054790ff18f74361342483a0d3671ebd95
parentd7de4b0864dd8ba844faf40771104e71bbbd129e
btrfs: tests: return errors from extent map test case 2

Replace asserts with error messages and return errors.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/extent-map-tests.c