]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs: document structures and their associated files
authorAnand Jain <anand.jain@oracle.com>
Tue, 10 Aug 2021 13:55:59 +0000 (21:55 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:12 +0000 (13:19 +0200)
commit092916e9521e110681c8c5d7b0919b9004a15362
tree5bfeef9cd24b0c367387d86349132480c661d8de
parent60fef63ebfd3f420f7c16ace2d960325b51b1775
btrfs: sysfs: document structures and their associated files

Sysfs file has grown big. It takes some time to locate the correct
struct attribute to add new files. Create a table and map the struct
attribute to its sysfs path.

Also, fix the comment about the debug sysfs path.  And add the comments
to the attributes instead of attribute group, where sysfs file names are
defined.

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