Skip to content

Commit 629e33a

Browse files
lorddoskiaskdave
authored andcommitted
btrfs: remove unused btrfs_fs_info::total_pinned
This got added 14 years ago in 324ae4d ("Btrfs: Add block group pinned accounting back") but it was not ever used. Subsequently its usage got gradually removed in 8790d50 ("Btrfs: Add support for mirroring across drives") and 11833d6 ("Btrfs: improve async block group caching"). Let's remove it for good! Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent 138a12d commit 629e33a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/btrfs/ctree.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,6 @@ struct btrfs_fs_info {
823823
struct kobject *space_info_kobj;
824824
struct kobject *qgroups_kobj;
825825

826-
u64 total_pinned;
827-
828826
/* used to keep from writing metadata until there is a nice batch */
829827
struct percpu_counter dirty_metadata_bytes;
830828
struct percpu_counter delalloc_bytes;

0 commit comments

Comments
 (0)