]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove unused btrfs_fs_info::total_pinned
authorNikolay Borisov <nborisov@suse.com>
Tue, 22 Jun 2021 13:27:38 +0000 (16:27 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 22 Jun 2021 17:58:26 +0000 (19:58 +0200)
commit629e33a16809ae0274e1f5fc3d22b92b9bd0fdf1
treeba497b34ae755b1ee15b1d770c8399d9e4134032
parent138a12d865749e28b39300b8a07337811253939b
btrfs: remove unused btrfs_fs_info::total_pinned

This got added 14 years ago in 324ae4df00fd ("Btrfs: Add block group
pinned accounting back") but it was not ever used. Subsequently its
usage got gradually removed in 8790d502e440 ("Btrfs: Add support for
mirroring across drives") and 11833d66be94 ("Btrfs: improve async block
group caching"). Let's remove it for good!

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h