summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch')
-rw-r--r--sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch b/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch
new file mode 100644
index 000000000000..b34ed695d75a
--- /dev/null
+++ b/sys-kernel/openvz-sources/files/openvz-sources-2.6.18.028.057.2-qouta-compat-build.patch
@@ -0,0 +1,13 @@
+--- ./fs/compat.c.bk 2008-08-06 15:31:16.000000000 +0400
++++ ./fs/compat.c 2008-08-06 15:41:47.000000000 +0400
+@@ -1565,8 +1565,10 @@ asmlinkage long sys32_quotactl(unsigned
+ __u32 dqb_itime[2];
+ __u32 dqb_valid;
+ } dqblk32;
++#ifdef CONFIG_QUOTA_COMPAT
+ struct compat_v2_dqblk cdq;
+ struct compat_v2_dqblk_32 cdq32;
++#endif
+
+ cmds = cmd >> SUBCMDSHIFT;
+