]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs, move device id directories to UUID/devinfo
authorAnand Jain <anand.jain@oracle.com>
Wed, 12 Feb 2020 09:28:11 +0000 (17:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 12 Feb 2020 17:28:22 +0000 (18:28 +0100)
commitc9e44a36a529761350d24053ec2bd15611b81595
tree91adefeea194aa9b64da6d042b03590ee0c9ca5b
parentbd6fcd7bea4a8afc2a509d38365df0bd0018fc15
btrfs: sysfs, move device id directories to UUID/devinfo

Originally it was planned to create device id directories under
UUID/devinfo, but it got under UUID/devices by mistake. We really want
it under definfo so the bare device node names are not mixed with device
ids and are easy to enumerate.

Fixes: 8a6f333ad700 ("btrfs: sysfs, add devid/dev_state kobject and device attributes")
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