diff options
author | David Sterba <dsterba@suse.com> | 2019-03-15 19:28:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-04-29 20:02:25 +0300 |
commit | 52ab7bca3583fa7a80b16232874784f8dcc4e560 (patch) | |
tree | 7f7c51cfead7407abac94b5cd5597b713274f26b /fs/btrfs/tests/extent-buffer-tests.c | |
parent | 37b2a7bc1ea919c8d00f2a2ece1917c38a30d6ae (diff) | |
download | linux-52ab7bca3583fa7a80b16232874784f8dcc4e560.tar.xz |
btrfs: tests: use standard error message after root allocation failure
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
-rw-r--r-- | fs/btrfs/tests/extent-buffer-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/extent-buffer-tests.c b/fs/btrfs/tests/extent-buffer-tests.c index 74c7975882d1..83814b769bde 100644 --- a/fs/btrfs/tests/extent-buffer-tests.c +++ b/fs/btrfs/tests/extent-buffer-tests.c @@ -36,7 +36,7 @@ static int test_btrfs_split_item(u32 sectorsize, u32 nodesize) root = btrfs_alloc_dummy_root(fs_info); if (IS_ERR(root)) { - test_err("could not allocate root"); + test_std_err(TEST_ALLOC_ROOT); ret = PTR_ERR(root); goto out; } |