diff options
Diffstat (limited to 'fs/fs.c')
-rw-r--r-- | fs/fs.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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, |