diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-11-06 16:27:36 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-12-08 15:54:10 +0100 |
commit | a55463c9f0ffa7429d3b0bd3fc2d0b3f31a3d299 (patch) | |
tree | 5ee1169596f46d1779d253caba1e47c859597955 | |
parent | 0ecae6fffe66db8d0692469eb22c141bea210291 (diff) | |
download | lwn-a55463c9f0ffa7429d3b0bd3fc2d0b3f31a3d299.tar.gz lwn-a55463c9f0ffa7429d3b0bd3fc2d0b3f31a3d299.zip |
btrfs: remove extent_buffer::recursed
It is unused everywhere now, it can be removed.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/extent_io.c | 1 | ||||
-rw-r--r-- | fs/btrfs/extent_io.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 3bbb3bdd395b..574e5cd3d7ea 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -4966,7 +4966,6 @@ __alloc_extent_buffer(struct btrfs_fs_info *fs_info, u64 start, eb->fs_info = fs_info; eb->bflags = 0; init_rwsem(&eb->lock); - eb->lock_recursed = false; btrfs_leak_debug_add(&fs_info->eb_leak_lock, &eb->leak_list, &fs_info->allocated_ebs); diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index c76697fc3120..cf95e9e4acb9 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -87,7 +87,6 @@ struct extent_buffer { int read_mirror; struct rcu_head rcu_head; pid_t lock_owner; - bool lock_recursed; /* >= 0 if eb belongs to a log tree, -1 otherwise */ s8 log_index; |