]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs, add UUID/devinfo kobject
authorAnand Jain <anand.jain@oracle.com>
Wed, 12 Feb 2020 09:28:10 +0000 (17:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 12 Feb 2020 17:28:18 +0000 (18:28 +0100)
commitb2b0bf9be945c8dd04c871f862dbe3d981309cea
treebcf4248d806fc9cd294e8f9729f0a0ad941a6386
parent1fd8a23c4aa112ee06156300350765f9b9c863d5
btrfs: sysfs, add UUID/devinfo kobject

Create directory /sys/fs/btrfs/UUID/devinfo to hold devices directories
by the id (unlike /devices).

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