linux-hardened/fs/btrfs/tests
Nikolay Borisov 9cfc8ba712 btrfs: Remove special handling of EXTENT_BUFFER_UNMAPPED while freeing
Now that the whole of btrfs code has been audited for eb reference count
management it's time to remove the hunk in free_extent_buffer that
essentially considered the condition

  "eb->ref == 2 && EXTENT_BUFFER_DUMMY"

to equal "eb->ref = 1". Also remove the last location
which takes an extra reference count in alloc_test_extent_buffer.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-12-17 14:51:31 +01:00
..
btrfs-tests.c btrfs: Remove special handling of EXTENT_BUFFER_UNMAPPED while freeing 2018-12-17 14:51:31 +01:00
btrfs-tests.h btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
extent-buffer-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
extent-io-tests.c btrfs: tests: Use BTRFS_MAX_EXTENT_SIZE to replace the intermediate number 2018-12-17 14:51:30 +01:00
extent-map-tests.c Btrfs: extent_map: use rb_first_cached 2018-10-15 17:23:33 +02:00
free-space-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
free-space-tree-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
inode-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
qgroup-tests.c btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_account_extent 2018-08-06 13:12:52 +02:00