summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fs.c')
-rw-r--r--fs/fs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/fs.c b/fs/fs.c
index dd680f39c9..27016ec492 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -17,6 +17,7 @@
#include <config.h>
#include <common.h>
#include <part.h>
+#include <btrfs.h>
#include <ext4fs.h>
#include <fat.h>
#include <fs.h>
@@ -128,6 +129,15 @@ static struct fstype_info fstypes[] = {
.write = fs_write_sandbox,
},
#endif
+#ifdef CONFIG_FS_BTR
+ {
+ .fstype = FS_TYPE_BTR,
+ .probe = btrfs_probe,
+ .close = btrfs_close,
+ .ls = btrfs_ls,
+ .read = btrfs_read_file,
+ },
+#endif
{
.fstype = FS_TYPE_ANY,
.null_dev_desc_ok = true,