Btrfs: sysfs: fix, undo sysfs device links
authorAnand Jain <Anand.Jain@oracle.com>
Mon, 9 Mar 2015 22:38:21 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:19 +0000 (12:27 +0200)
commite7e1aa9c913da380fbf1977ac4fa98e464023605
treec758d19a0a30420ba41cb7bf649626e6ddcb1fcc
parent4e51f005a22a2c7795351b975437b0cee0acce3e
Btrfs: sysfs: fix, undo sysfs device links

Theoritically need to remove the device links attributes, but since its entire device
kobject was removed, so there wasn't any issue of about it. Just do it nicely.

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