summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests/free-space-tree-tests.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-15 17:28:46 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:25 +0200
commit9e3d9f8462ef020e2e4d256064f15fc7eb657156 (patch)
treea6428575d02dafab4cd751094e847a6b385750e8 /fs/btrfs/tests/free-space-tree-tests.c
parent52ab7bca3583fa7a80b16232874784f8dcc4e560 (diff)
downloadlwn-9e3d9f8462ef020e2e4d256064f15fc7eb657156.tar.gz
lwn-9e3d9f8462ef020e2e4d256064f15fc7eb657156.zip
btrfs: tests: use standard error message after extent buffer allocation failure
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/free-space-tree-tests.c')
-rw-r--r--fs/btrfs/tests/free-space-tree-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/free-space-tree-tests.c b/fs/btrfs/tests/free-space-tree-tests.c
index 79b5d0c97b7b..58fbca92dd0d 100644
--- a/fs/btrfs/tests/free-space-tree-tests.c
+++ b/fs/btrfs/tests/free-space-tree-tests.c
@@ -463,7 +463,7 @@ static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize,
root->node = alloc_test_extent_buffer(root->fs_info, nodesize);
if (!root->node) {
- test_err("couldn't allocate dummy buffer");
+ test_std_err(TEST_ALLOC_EXTENT_BUFFER);
ret = -ENOMEM;
goto out;
}