summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mount.c
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-04-07 22:39:24 +0000
committerPascal Terjan <pterjan@mageia.org>2012-04-07 22:39:24 +0000
commit5e99025d0f73bdffcce6d25c0f5377a833b72472 (patch)
tree29c74c538e985b5432d0fdc276e92adbfc99b328 /mdk-stage1/mount.c
parent40974e09c82902407f8038596d6f9fc4a65e671f (diff)
downloaddrakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.gz
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.bz2
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.tar.xz
drakx-5e99025d0f73bdffcce6d25c0f5377a833b72472.zip
load btrfs module to mount btrfs
Diffstat (limited to 'mdk-stage1/mount.c')
-rw-r--r--mdk-stage1/mount.c3
1 files changed, 3 insertions, 0 deletions
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);