]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: tests: add table of most common errors
authorDavid Sterba <dsterba@suse.com>
Fri, 15 Mar 2019 16:23:30 +0000 (17:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:25 +0000 (19:02 +0200)
commitb897d1c71c9595823f2320b3434c7ee95059d8d3
tree395a89b01982761cf6ce42febf642608998c6aaa
parentdf182ae03095d93846aae08e313553d1d7246c6d
btrfs: tests: add table of most common errors

Allocation of main objects like fs_info or extent buffers is in each
test so let's simplify and unify the error messages to a table and add a
convenience helper.

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