@cryptotaxi247 / netdata-1 / commits / 4beaba365

mark the btrfs global reserved chart as obsolete too when removing a btrfs volume

Costa Tsaousis (ktsaou) committed Dec 18, 2017 at 01:03 UTC 4beaba36537ee94cc43d6fcbf44e22c5f4a28cdb
1 file changed +3
src/sys_fs_btrfs.c
+3
@@ -64,6 +64,9 @@ static inline void btrfs_free_node(BTRFS_NODE *node) {
64 if(node->st_allocation_metadata)
65 rrdset_is_obsolete(node->st_allocation_metadata);
66
67 + if(node->st_allocation_global_rsv)
68 + rrdset_is_obsolete(node->st_allocation_global_rsv);
69 +
70 freez(node->allocation_system_bytes_used_filename);
71 freez(node->allocation_system_total_bytes_filename);
72