[PATCH 09/24] Btrfs: sysfs: let default_attrs be separate from the kset

2015-02-11 Thread Anand Jain
From: Anand Jain anand.j...@oracle.com As of now btrfs_attrs are provided using the default_attrs through the kset. Separate them and create the default_attrs using the sysfs_create_files instead. By doing this we will have the flexibility that device discovery thread could create fsid kobject.

[PATCH 09/24] Btrfs: sysfs: let default_attrs be separate from the kset

2015-02-08 Thread Anand Jain
From: Anand Jain anand.j...@oracle.com As of now btrfs_attrs are provided using the default_attrs through the kset. Separate them and create the default_attrs using the sysfs_create_files instead. By doing this we will have the flexibility that device discovery thread could create fsid kobject.