Commit a55463c9 authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

btrfs: remove extent_buffer::recursed



It is unused everywhere now, it can be removed.

Reviewed-by: default avatarFilipe Manana <fdmanana@suse.com>
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 0ecae6ff
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -4966,7 +4966,6 @@ __alloc_extent_buffer(struct btrfs_fs_info *fs_info, u64 start,
	eb->fs_info = fs_info;
	eb->fs_info = fs_info;
	eb->bflags = 0;
	eb->bflags = 0;
	init_rwsem(&eb->lock);
	init_rwsem(&eb->lock);
	eb->lock_recursed = false;


	btrfs_leak_debug_add(&fs_info->eb_leak_lock, &eb->leak_list,
	btrfs_leak_debug_add(&fs_info->eb_leak_lock, &eb->leak_list,
			     &fs_info->allocated_ebs);
			     &fs_info->allocated_ebs);
+0 −1
Original line number Original line Diff line number Diff line
@@ -87,7 +87,6 @@ struct extent_buffer {
	int read_mirror;
	int read_mirror;
	struct rcu_head rcu_head;
	struct rcu_head rcu_head;
	pid_t lock_owner;
	pid_t lock_owner;
	bool lock_recursed;
	/* >= 0 if eb belongs to a log tree, -1 otherwise */
	/* >= 0 if eb belongs to a log tree, -1 otherwise */
	s8 log_index;
	s8 log_index;