diff options
author | David Sterba <dsterba@suse.com> | 2016-02-26 09:38:34 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-02-26 09:38:34 -0500 |
commit | fa695b01bceabc40be3267d309ca8a663de53d7a (patch) | |
tree | 017a66e7b0c2d928d3edc9531cf04bd3debf346a /fs/btrfs/tests/btrfs-tests.c | |
parent | f004fae0cfeb96d33240eb5471f14cb6fbbd4eea (diff) | |
parent | f7e98a7fff8634ae655c666dc2c9fc55a48d0a73 (diff) |
Merge branch 'misc-4.6' into for-chris-4.6
# Conflicts:
# fs/btrfs/file.c
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.c')
-rw-r--r-- | fs/btrfs/tests/btrfs-tests.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/tests/btrfs-tests.c b/fs/btrfs/tests/btrfs-tests.c index 0e1e61a7ec23..d39f714dabeb 100644 --- a/fs/btrfs/tests/btrfs-tests.c +++ b/fs/btrfs/tests/btrfs-tests.c | |||
@@ -189,12 +189,6 @@ btrfs_alloc_dummy_block_group(unsigned long length) | |||
189 | kfree(cache); | 189 | kfree(cache); |
190 | return NULL; | 190 | return NULL; |
191 | } | 191 | } |
192 | cache->fs_info = btrfs_alloc_dummy_fs_info(); | ||
193 | if (!cache->fs_info) { | ||
194 | kfree(cache->free_space_ctl); | ||
195 | kfree(cache); | ||
196 | return NULL; | ||
197 | } | ||
198 | 192 | ||
199 | cache->key.objectid = 0; | 193 | cache->key.objectid = 0; |
200 | cache->key.offset = length; | 194 | cache->key.offset = length; |