diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-27 12:01:32 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-27 12:01:32 -0500 |
commit | 03498f946430c1fbb411f94af7f9a366f4a7cd51 (patch) | |
tree | 225f584fbe5bcb8f72ebc5c624e1a8d9e8fa235c /libbcachefs/sysfs.c | |
parent | b1a2ab6eeffc62d32f648d9267dc101da77567d1 (diff) |
Update bcachefs sources to 04036b4910 bcachefs: Fix a memory leak
Diffstat (limited to 'libbcachefs/sysfs.c')
-rw-r--r-- | libbcachefs/sysfs.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libbcachefs/sysfs.c b/libbcachefs/sysfs.c index ce32b906..3018250d 100644 --- a/libbcachefs/sysfs.c +++ b/libbcachefs/sysfs.c @@ -174,9 +174,7 @@ read_attribute(reserve_stats); read_attribute(btree_cache_size); read_attribute(compression_stats); read_attribute(journal_debug); -read_attribute(journal_pins); read_attribute(btree_updates); -read_attribute(dirty_btree_nodes); read_attribute(btree_cache); read_attribute(btree_key_cache); read_attribute(btree_transactions); @@ -402,15 +400,9 @@ SHOW(bch2_fs) if (attr == &sysfs_journal_debug) bch2_journal_debug_to_text(out, &c->journal); - if (attr == &sysfs_journal_pins) - bch2_journal_pins_to_text(out, &c->journal); - if (attr == &sysfs_btree_updates) bch2_btree_updates_to_text(out, c); - if (attr == &sysfs_dirty_btree_nodes) - bch2_dirty_btree_nodes_to_text(out, c); - if (attr == &sysfs_btree_cache) bch2_btree_cache_to_text(out, c); @@ -564,9 +556,7 @@ SYSFS_OPS(bch2_fs_internal); struct attribute *bch2_fs_internal_files[] = { &sysfs_journal_debug, - &sysfs_journal_pins, &sysfs_btree_updates, - &sysfs_dirty_btree_nodes, &sysfs_btree_cache, &sysfs_btree_key_cache, &sysfs_btree_transactions, |