[kernel] r18118 - dists/squeeze/linux-2.6/debian/patches/features/all/openvz

Ben Hutchings benh at alioth.debian.org
Sat Sep 24 00:13:18 UTC 2011


Author: benh
Date: Sat Sep 24 00:13:15 2011
New Revision: 18118

Log:
[openvz] cpt: Allow ext4 mounts

Somehow I made svn forget about the actual patch.

Added:
   dists/squeeze/linux-2.6/debian/patches/features/all/openvz/cpt-Allow-ext4-mount.patch

Added: dists/squeeze/linux-2.6/debian/patches/features/all/openvz/cpt-Allow-ext4-mount.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/squeeze/linux-2.6/debian/patches/features/all/openvz/cpt-Allow-ext4-mount.patch	Sat Sep 24 00:13:15 2011	(r18118)
@@ -0,0 +1,17 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Subject: cpt: Allow ext4 mounts
+
+The existing checkpoint code apparently works for ext4 and most other
+filesystems backed by a block device.  The OpenVZ patch for RHEL 6
+allows it without any apparent need for specific support elsewhere in
+the code.
+
+--- a/kernel/cpt/cpt_files.h
++++ b/kernel/cpt/cpt_files.h
+@@ -74,4 +74,5 @@
+ 	 strcmp(mnt->mnt_sb->s_type->name, "devpts") != 0 && \
+ 	 strcmp(mnt->mnt_sb->s_type->name, "proc") != 0 && \
+ 	 strcmp(mnt->mnt_sb->s_type->name, "sysfs") != 0 && \
+-	 strcmp(mnt->mnt_sb->s_type->name, "binfmt_misc") != 0)
++	 strcmp(mnt->mnt_sb->s_type->name, "binfmt_misc") != 0 && \
++	 strcmp(mnt->mnt_sb->s_type->name, "ext4") != 0)



More information about the Kernel-svn-changes mailing list