]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove log_extents_lock and logged_list from struct btrfs_root
authorFilipe Manana <fdmanana@suse.com>
Thu, 19 Oct 2023 11:52:18 +0000 (12:52 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:00 +0000 (20:27 +0100)
commit6000d9313f20e6587a9e5506b4ea169ed61ab686
tree0afa5053feccc4e264057af36a64ed6c90eb4d05
parentb1dd019de6f34db7a4ec9ee74cb02493135880b2
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>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c