summaryrefslogtreecommitdiff
path: root/fs/btrfs/tests
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-06-15 05:00:04 +0400
committerDavid Sterba <dsterba@suse.cz>2014-12-12 20:26:57 +0300
commitce3e69847e3ec79a38421bfd3d6f554d5e481231 (patch)
tree5c9704b1e1d3970ab098caac053cfbd06bb80f10 /fs/btrfs/tests
parent3f556f7853ec4845a7c219d026cbcdf4cfa8cea7 (diff)
downloadlinux-ce3e69847e3ec79a38421bfd3d6f554d5e481231.tar.xz
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.c2
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)
* Can't use bytenr 0, some things freak out
* *cough*backref walking code*cough*
*/
- root->node = alloc_test_extent_buffer(root->fs_info, 4096, 4096);
+ root->node = alloc_test_extent_buffer(root->fs_info, 4096);
if (!root->node) {
test_msg("Couldn't allocate dummy buffer\n");
ret = -ENOMEM;