diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-10-19 12:52:18 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-12-15 20:27:00 +0100 |
commit | 6000d9313f20e6587a9e5506b4ea169ed61ab686 (patch) | |
tree | 0afa5053feccc4e264057af36a64ed6c90eb4d05 /fs/btrfs/ctree.h | |
parent | b1dd019de6f34db7a4ec9ee74cb02493135880b2 (diff) | |
download | linux-stable-6000d9313f20e6587a9e5506b4ea169ed61ab686.tar.gz linux-stable-6000d9313f20e6587a9e5506b4ea169ed61ab686.tar.bz2 linux-stable-6000d9313f20e6587a9e5506b4ea169ed61ab686.zip |
btrfs: remove log_extents_lock and logged_list from struct btrfs_root
The logged_list[2] and log_extents_lock[2] members of struct btrfs_root
are no longer used, their last use was removed in commit 5636cf7d6dc8
("btrfs: remove the logged extents infrastructure"). So remove these
fields. This reduces the size of struct btrfs_root, on a release kernel,
from 1392 bytes down to 1352 bytes.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 196c005c31f6..99fe28bc013b 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -224,9 +224,6 @@ struct btrfs_root { struct list_head root_list; - spinlock_t log_extents_lock[2]; - struct list_head logged_list[2]; - spinlock_t inode_lock; /* red-black tree that keeps track of in-memory inodes */ struct rb_root inode_tree; |