btrfs: Remove unused sysfs code
PATCH 1/1 btrfs: Remove unused sysfs code
Removes code no longer used. The sysfs file itself is kept, because the btrfs developers expressed interest in putting new entries to sysfs.
Signed-off-by Maarten Lankhorst <[email protected]>
---
fs/btrfs/ctree.h +0 -1
@@ -1181,7 +1181,6 @@ struct btrfs_root {struct btrfs_key defrag_max;int defrag_running;char *name; -int in_sysfs;/* the dirty list is only used by non-reference counted roots */ struct list_head dirty_list;
fs/btrfs/disk-io.c +0 -1
@@ -1044,7 +1044,6 @@ static int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize, root->last_trans =0 ; root->highest_objectid =0 ; root->name =NULL ; - root->in_sysfs =0 ; root->inode_tree =RB_ROOT ;INIT_RADIX_TREE (&root->delayed_nodes_tree,GFP_ATOMIC ); root->block_rsv =NULL ;
fs/btrfs/sysfs.c +0 -146
152 lines not on this page · raw message