]> git.ipfire.org Git - thirdparty/linux.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)
commite7849e33cf5d785568b181e3c15236e32c7dfdb2
tree5bfeef9cd24b0c367387d86349132480c661d8de
parente4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
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