]> asedeno.scripts.mit.edu Git - linux.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)
commita013d141eceee0f7747385e900da2858141aa0f3
treebcf4248d806fc9cd294e8f9729f0a0ad941a6386
parent28553fa992cb28be6a65566681aac6cafabb4f2d
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