Add support for sysfs to BTRFS. This patch add the Kconfig part to enable
or disable the exporting of teh BTRFS information via sysfs.
Signed-off-by: Goffredo Baroncelli <redacted>
---
fs/btrfs/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig
index d33f01c..187e057 100644
--- a/fs/btrfs/Kconfig
+++ b/fs/btrfs/Kconfig
@@ -50,3 +50,12 @@ config BTRFS_FS_CHECK_INTEGRITY
In most cases, unless you are a btrfs developer who needs
to verify the integrity of (super)-block write requests
during the run of a regression test, say N
+
+config BTRFS_FS_SYSFS
+ bool "Btrfs sysfs support"
+ depends on BTRFS_FS
+ help
+ This options allow to export some btrfs filesystems/devices
+ properties via the sysfs interface.
+
+