diff options
author | David Sterba <dsterba@suse.com> | 2019-03-15 17:28:46 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 19:02:26 +0200 |
commit | 3199366da73dddbfa5a0b36a7438dac008d2053e (patch) | |
tree | 20a1c4bf38a7a4c6018cd6547329eca015680cc3 /fs/btrfs/tests/free-space-tree-tests.c | |
parent | 6a060db85d0a81b9c06bb134f30a55a6b89a0a02 (diff) | |
download | linux-3199366da73dddbfa5a0b36a7438dac008d2053e.tar.bz2 |
btrfs: tests: use standard error message after block group 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.c | 2 |
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 22282c16c022..09c27628e305 100644 --- a/fs/btrfs/tests/free-space-tree-tests.c +++ b/fs/btrfs/tests/free-space-tree-tests.c @@ -473,7 +473,7 @@ static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, cache = btrfs_alloc_dummy_block_group(fs_info, 8 * alignment); if (!cache) { - test_err("couldn't allocate dummy block group cache"); + test_std_err(TEST_ALLOC_BLOCK_GROUP); ret = -ENOMEM; goto out; } |