Module Name:    src
Committed By:   pooka
Date:           Wed Jan 12 17:14:34 UTC 2011

Modified Files:
        src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
Mark rootfs r/w.  Thanks to the incredible machine known as vfs,
the only one who noticed the inconsistency of writing to a r/o fs
was unionfs.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/rump/librump/rumpvfs/rumpfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpvfs/rumpfs.c
diff -u src/sys/rump/librump/rumpvfs/rumpfs.c:1.82 src/sys/rump/librump/rumpvfs/rumpfs.c:1.83
--- src/sys/rump/librump/rumpvfs/rumpfs.c:1.82	Tue Jan 11 14:05:32 2011
+++ src/sys/rump/librump/rumpvfs/rumpfs.c	Wed Jan 12 17:14:34 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: rumpfs.c,v 1.82 2011/01/11 14:05:32 kefren Exp $	*/
+/*	$NetBSD: rumpfs.c,v 1.83 2011/01/12 17:14:34 pooka Exp $	*/
 
 /*
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.82 2011/01/11 14:05:32 kefren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.83 2011/01/12 17:14:34 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -1648,6 +1648,7 @@
 	if (error)
 		panic("set_statvfs_info failed for rootfs: %d", error);
 
+	mp->mnt_flag &= ~MNT_RDONLY;
 	vfs_unbusy(mp, false, NULL);
 
 	return 0;

Reply via email to