Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>
---
fs/btrfs/procfs.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/fs/btrfs/procfs.c b/fs/btrfs/procfs.c
index 4aec759..0211aec 100644
--- a/fs/btrfs/procfs.c
+++ b/fs/btrfs/procfs.c
@@ -62,6 +62,17 @@ again_fs_devs:
BTRFS_SEQ_PRINT("\tseeding:\t\t%d\n", fs_devices->seeding);
BTRFS_SEQ_PRINT("\trotating:\t\t%d\n", fs_devices->rotating);
+ BTRFS_SEQ_PRINT("\tsuper_kobj_state:\t%d\n", fs_devices->super_kobj.state_initialized);
+ BTRFS_SEQ_PRINT("\tsuper_kobj_insysfs:\t%d\n", fs_devices->super_kobj.state_in_sysfs);
+
+ if (fs_devices->device_dir_kobj) {
+ BTRFS_SEQ_PRINT("\tdevice_kobj_state:\t%d\n", fs_devices->device_dir_kobj->state_initialized);
+ BTRFS_SEQ_PRINT("\tdevice_kobj_insysfs:\t%d\n", fs_devices->device_dir_kobj->state_in_sysfs);
+ } else {
+ BTRFS_SEQ_PRINT("\tdevice_kobj_state:\t%s\n", "null");
+ BTRFS_SEQ_PRINT("\tdevice_kobj_insysfs:\t%s\n", "null");
+ }
+
list_for_each_entry(device, &fs_devices->devices, dev_list) {
BTRFS_SEQ_PRINT("\t[[uuid: %pU]]\n", device->uuid);
BTRFS_SEQ_PRINT("\t\tdev_addr:\t%p\n", device);
--
2.0.0.153.g79dcccc
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html