summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/mount.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index b53f0e583..fd27cff56 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- load btrfs module to mount btrfs
+
1.64
- default to "screen" instead of "linux" terminfo (mga#4894)
diff --git a/mdk-stage1/mount.c b/mdk-stage1/mount.c
index e73a2135a..6c180d8e6 100644
--- a/mdk-stage1/mount.c
+++ b/mdk-stage1/mount.c
@@ -234,6 +234,9 @@ int my_mount(char *dev, char *location, char *fs, int force_rw)
if (!strcmp(fs, "ext4"))
my_insmod("ext4", ANY_DRIVER_TYPE, NULL, 1);
+ if (!strcmp(fs, "btrfs"))
+ my_insmod("btrfs", ANY_DRIVER_TYPE, NULL, 1);
+
#endif
if (!strcmp(fs, "iso9660"))
my_insmod("isofs", ANY_DRIVER_TYPE, NULL, 1);