]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
btrfs: sysfs: add debugging exports
authorDavid Sterba <dsterba@suse.com>
Thu, 13 Jun 2019 15:23:02 +0000 (17:23 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:05 +0000 (14:59 +0200)
commit6e369febbc534596b5e366d46f10b65bb4caa544
treec3ee0429f6a117a8efb9195603b896888bf57337
parent6a9fb468f1152d6254f49fee6ac28c3cfa3367e5
btrfs: sysfs: add debugging exports

Add 'debug' directories to global sysfs and per-filesystem. This will
replace the debugfs directory. The sysfs location is simpler and builds
on top of the existing file hierarchy so there will hopefully be no more
questions about the sample debugfs file.

The directory is called 'debug' and only present under
CONFIG_BTRFS_DEBUG so this will not affect productions builds.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c