diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-14 21:00:04 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-12 12:26:57 -0500 |
commit | ce3e69847e3ec79a38421bfd3d6f554d5e481231 (patch) | |
tree | 5c9704b1e1d3970ab098caac053cfbd06bb80f10 /fs/btrfs/tests | |
parent | 3f556f7853ec4845a7c219d026cbcdf4cfa8cea7 (diff) |
btrfs: sink parameter len to alloc_extent_buffer
Because we're using globally known nodesize. Do the same for the sanity
test function variant.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/tests')
-rw-r--r-- | fs/btrfs/tests/qgroup-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tests/qgroup-tests.c b/fs/btrfs/tests/qgroup-tests.c index 7336b1c09cd8..73f299ebdabb 100644 --- a/fs/btrfs/tests/qgroup-tests.c +++ b/fs/btrfs/tests/qgroup-tests.c | |||
@@ -419,7 +419,7 @@ int btrfs_test_qgroups(void) | |||
419 | * Can't use bytenr 0, some things freak out | 419 | * Can't use bytenr 0, some things freak out |
420 | * *cough*backref walking code*cough* | 420 | * *cough*backref walking code*cough* |
421 | */ | 421 | */ |
422 | root->node = alloc_test_extent_buffer(root->fs_info, 4096, 4096); | 422 | root->node = alloc_test_extent_buffer(root->fs_info, 4096); |
423 | if (!root->node) { | 423 | if (!root->node) { |
424 | test_msg("Couldn't allocate dummy buffer\n"); | 424 | test_msg("Couldn't allocate dummy buffer\n"); |
425 | ret = -ENOMEM; | 425 | ret = -ENOMEM; |