From 5e99025d0f73bdffcce6d25c0f5377a833b72472 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 7 Apr 2012 22:39:24 +0000 Subject: load btrfs module to mount btrfs --- mdk-stage1/NEWS | 2 ++ mdk-stage1/mount.c | 3 +++ 2 files changed, 5 insertions(+) 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); -- cgit v1.2.1