summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/lomount.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-01-22 17:09:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-01-22 17:09:00 +0000
commit147317297c20ab596f239c8f3947ed3e2290282e (patch)
tree6e2a3d285addc44365d79ee305a8677bebabab7a /mdk-stage1/lomount.c
parentea1ae4d01e69b2bd24896315c88eb072c3874e1d (diff)
downloaddrakx-147317297c20ab596f239c8f3947ed3e2290282e.tar
drakx-147317297c20ab596f239c8f3947ed3e2290282e.tar.gz
drakx-147317297c20ab596f239c8f3947ed3e2290282e.tar.bz2
drakx-147317297c20ab596f239c8f3947ed3e2290282e.tar.xz
drakx-147317297c20ab596f239c8f3947ed3e2290282e.zip
until we haven't loaded the usb interface and the keyboard usb driver, we can't allow asking for additional drivers floppy, so need another parameter to my_insmod to indicate in which situation we are
Diffstat (limited to 'mdk-stage1/lomount.c')
-rw-r--r--mdk-stage1/lomount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdk-stage1/lomount.c b/mdk-stage1/lomount.c
index 25f72c345..1ad05cbee 100644
--- a/mdk-stage1/lomount.c
+++ b/mdk-stage1/lomount.c
@@ -80,7 +80,7 @@ set_loop (const char *device, const char *file, int gz)
loopinfo.lo_name[LO_NAME_SIZE - 1] = 0;
loopinfo.lo_offset = 0;
if (gz) {
- my_insmod("gzloop", ANY_DRIVER_TYPE, NULL);
+ my_insmod("gzloop", ANY_DRIVER_TYPE, NULL, 1);
loopinfo.lo_encrypt_type = 13; /* LO_CRYPT_GZ */
}
@@ -173,10 +173,10 @@ lomount(char *loopfile, char *where, char **dev, int gz)
flag |= MS_RDONLY;
#ifdef MANDRAKE_MOVE
- my_insmod("change_loop", ANY_DRIVER_TYPE, NULL);
+ my_insmod("change_loop", ANY_DRIVER_TYPE, NULL, 1);
chloop = 1;
#else
- my_insmod("loop", ANY_DRIVER_TYPE, NULL);
+ my_insmod("loop", ANY_DRIVER_TYPE, NULL, 1);
#endif
if (!(loopdev = find_free_loop(chloop))) {