btrfs: sysfs: show discard stats and tunables in non-debug build
[platform/kernel/linux-rpi.git] / fs / btrfs / ctree.h
index e9f60d7..b678d32 100644 (file)
@@ -890,6 +890,7 @@ struct btrfs_fs_info {
 
        struct kobject *space_info_kobj;
        struct kobject *qgroups_kobj;
+       struct kobject *discard_kobj;
 
        /* used to keep from writing metadata until there is a nice batch */
        struct percpu_counter dirty_metadata_bytes;
@@ -1109,7 +1110,6 @@ struct btrfs_fs_info {
 
 #ifdef CONFIG_BTRFS_DEBUG
        struct kobject *debug_kobj;
-       struct kobject *discard_debug_kobj;
        struct list_head allocated_roots;
 
        spinlock_t eb_leak_lock;