[Glibc-bsd-commits] r4753 - in trunk/kfreebsd-10/debian: . patches

Robert Millan rmh at alioth.debian.org
Mon Jul 15 22:15:33 UTC 2013


Author: rmh
Date: 2013-07-15 22:15:33 +0000 (Mon, 15 Jul 2013)
New Revision: 4753

Added:
   trunk/kfreebsd-10/debian/patches/mount_remount.diff
Modified:
   trunk/kfreebsd-10/debian/changelog
   trunk/kfreebsd-10/debian/patches/series
Log:
mount_remount.diff: Implement "mount -o remount" glue in kernel like upstream wants.

Modified: trunk/kfreebsd-10/debian/changelog
===================================================================
--- trunk/kfreebsd-10/debian/changelog	2013-07-15 22:15:25 UTC (rev 4752)
+++ trunk/kfreebsd-10/debian/changelog	2013-07-15 22:15:33 UTC (rev 4753)
@@ -4,6 +4,8 @@
   * Split kernel_cc into cc_cmd and cc_pkg (this makes it easier to
     enable clang when desired).
   * Bump B-D on freebsd-buildutils to 10~svn251967-3.
+  * mount_remount.diff: Implement "mount -o remount" glue in kernel like
+    upstream wants.
 
  -- Robert Millan <rmh at debian.org>  Tue, 02 Jul 2013 17:05:10 +0200
 

Added: trunk/kfreebsd-10/debian/patches/mount_remount.diff
===================================================================
--- trunk/kfreebsd-10/debian/patches/mount_remount.diff	                        (rev 0)
+++ trunk/kfreebsd-10/debian/patches/mount_remount.diff	2013-07-15 22:15:33 UTC (rev 4753)
@@ -0,0 +1,15 @@
+
+Upstream wants this in kernel. See:
+http://lists.freebsd.org/pipermail/freebsd-fs/2013-July/017794.html
+
+--- a/sys/kern/vfs_mount.c
++++ b/sys/kern/vfs_mount.c
+@@ -578,7 +578,7 @@
+ 	 * when we want to update the root filesystem.
+ 	 */
+ 	TAILQ_FOREACH_SAFE(opt, optlist, link, tmp_opt) {
+-		if (strcmp(opt->name, "update") == 0) {
++		if (strcmp(opt->name, "update") == 0 || strcmp(opt->name, "remount") == 0) {
+ 			fsflags |= MNT_UPDATE;
+ 			vfs_freeopt(optlist, opt);
+ 		}

Modified: trunk/kfreebsd-10/debian/patches/series
===================================================================
--- trunk/kfreebsd-10/debian/patches/series	2013-07-15 22:15:25 UTC (rev 4752)
+++ trunk/kfreebsd-10/debian/patches/series	2013-07-15 22:15:33 UTC (rev 4753)
@@ -1,6 +1,9 @@
 # Patches from (or merged in) upstream
 000_cxgbe.diff
 
+# Patches that are in good shape for merging upstream
+mount_remount.diff
+
 # Other patches that might or might not be mergeable
 001_misc.diff
 002_maxpathlen.diff




More information about the Glibc-bsd-commits mailing list