patch-1.3.42 linux/arch/i386/kernel/setup.c

Next file: linux/drivers/block/floppy.c
Previous file: linux/arch/i386/kernel/bios32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -103,8 +103,8 @@
 	if (memory_end > 16*1024*1024)
 		memory_end = 16*1024*1024;
 #endif
-	if (MOUNT_ROOT_RDONLY)
-		root_mountflags |= MS_RDONLY;
+	if (!MOUNT_ROOT_RDONLY)
+		root_mountflags &= ~MS_RDONLY;
 	memory_start = (unsigned long) &_end;
 	init_task.mm->start_code = TASK_SIZE;
 	init_task.mm->end_code = TASK_SIZE + (unsigned long) &_etext;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this