Btrfs: sysfs: separate device kobject and its attribute creation
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 9 Mar 2015 22:38:28 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:20 +0000 (12:27 +0200)
commit00c921c23f9155597ff4ac1263a6ff46dc9e2206
tree297db5d4fca867f374ade1fa852e9afe7c39ed4c
parent0dd2906f7229186424cdc80be8654b2c21d9c04c
Btrfs: sysfs: separate device kobject and its attribute creation

Separate device kobject and its attribute creation so that device
kobject can be created from the device discovery thread.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/sysfs.c