diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-15 03:00:04 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-12 18:26:57 +0100 |
commit | ce3e69847e3ec79a38421bfd3d6f554d5e481231 (patch) | |
tree | 5c9704b1e1d3970ab098caac053cfbd06bb80f10 /fs/btrfs/tests | |
parent | btrfs: unify extent buffer allocation api (diff) | |
download | linux-ce3e69847e3ec79a38421bfd3d6f554d5e481231.tar.xz linux-ce3e69847e3ec79a38421bfd3d6f554d5e481231.zip |
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) * 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; |