1
To use this patch, you need these things,
3
- http://download.openvz.org/kernel/branches/2.6.18/028stab039.1/
4
patches/patch-ovz028stab039.1-combined.gz
5
- define "EXTRA_CFLAGS += -DVE_028stab039" in aufs/local.mk
7
As you know, openvz uses simfs to support disk quota or something.
8
On my system, /proc/mounts shows,
9
none /vz/private/203 aufs \
10
rw,xino=(deleted)\040/tmp/rw/.aufs.xino,\
11
udba=inotify,br:/tmp/rw=rw:/vz/private/203=ro 0 0
12
/vz/private/203 /vz/root/203 simfs rw 0 0
14
----------------------------------------------------------------------
15
--- fs/aufs/super.c 2007-07-30 13:26:04.000000000 +0900
16
+++ fs/aufs/super.c 2007-09-10 13:36:48.381447152 +0900
18
typedef struct mnt_namespace au_mnt_ns_t;
19
#define au_nsproxy(tsk) (tsk)->nsproxy
20
#define au_mnt_ns(tsk) (tsk)->nsproxy->mnt_ns
21
-#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)
22
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19) || defined(VE_028stab039)
23
#include <linux/namespace.h>
24
typedef struct namespace au_mnt_ns_t;
25
#define au_nsproxy(tsk) (tsk)->nsproxy
26
@@ -144,11 +144,13 @@ static int aufs_show_options(struct seq_
30
+#ifndef VE_028stab039
31
#define Deleted "\\040(deleted)"
32
m->count -= sizeof(Deleted) - 1;
33
AuDebugOn(memcmp(m->buf + m->count, Deleted,
34
sizeof(Deleted) - 1));
38
err = seq_puts(m, ",noxino");