]> 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)
commitbd6fcd7bea4a8afc2a509d38365df0bd0018fc15
treebcf4248d806fc9cd294e8f9729f0a0ad941a6386
parent248f201a989a28d95e875ee12a2faa350765a49f
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