Re: [PATCH 1/1] Btrfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_devices

2015-01-26 Thread Anand Jain
This patch needs [PATCH 1/1] Btrfs: btrfs_release_super_kobj() should clean up the kobject data further, I am planning to clean up and split below patch to show the enhancements and fix-ups separately. Will send V2 soon. Thanks. Anand On 01/20/2015 12:02 AM, Anand Jain wrote: This

RE: [PATCH 1/1] Btrfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_devices

2015-01-24 Thread Anand Jain
Recently i found that, the original code with out this patch has a bug during kobject clean up, which is prominent with this patch, i am digging more. Just an early headsup. Thxs. Anand. Sent from my Sony Xperia™ smartphone Anand Jain wrote This patch will provide a framework and

Re: [PATCH 1/1] Btrfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_devices

2015-01-23 Thread David Sterba
On Tue, Jan 20, 2015 at 12:02:27AM +0800, Anand Jain wrote: This patch will provide a framework and help to create attributes from the structure btrfs_fs_devices which are available even before fs_info is created. So by moving the parent kobject super_kobj from fs_info to btrfs_fs_devices, it

[PATCH 1/1] Btrfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_devices

2015-01-19 Thread Anand Jain
This patch will provide a framework and help to create attributes from the structure btrfs_fs_devices which are available even before fs_info is created. So by moving the parent kobject super_kobj from fs_info to btrfs_fs_devices, it will help to create attributes from the btrfs_fs_devices as