The Samba-Bugzilla – Attachment 7888 Details for
Bug 7814
Compile Error with Kernelheders 2.6.36
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for 3.5
0001-quota-fix-build-of-sysquote_xfs-on.patch (text/plain), 1.05 KB, created by
Björn Jacke
on 2012-09-13 07:30:17 UTC
(
hide
)
Description:
fix for 3.5
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2012-09-13 07:30:17 UTC
Size:
1.05 KB
patch
obsolete
>From b6b158681e5f01be82dd8c433d773af052337689 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Thu, 13 Sep 2012 01:23:12 +0200 >Subject: [PATCH] quota: fix build of sysquote_xfs on > >linux header files renamed some XFS_* defines to FS_* around kernel v2.6.36 > >This fixes bug #7814 >--- > source3/lib/sysquotas_xfs.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c >index 1e438e9..1e3d952 100644 >--- a/source3/lib/sysquotas_xfs.c >+++ b/source3/lib/sysquotas_xfs.c >@@ -35,6 +35,18 @@ > #include "samba_linux_quota.h" > #ifdef HAVE_LINUX_DQBLK_XFS_H > #include <linux/dqblk_xfs.h> >+#ifndef XFS_QUOTA_UDQ_ACCT >+#define XFS_QUOTA_UDQ_ACCT FS_QUOTA_UDQ_ACCT >+#endif >+#ifndef XFS_QUOTA_UDQ_ENFD >+#define XFS_QUOTA_UDQ_ENFD FS_QUOTA_UDQ_ENFD >+#endif >+#ifndef XFS_QUOTA_GDQ_ACCT >+#define XFS_QUOTA_GDQ_ACCT FS_QUOTA_GDQ_ACCT >+#endif >+#ifndef XFS_QUOTA_GDQ_ENFD >+#define XFS_QUOTA_GDQ_ENFD FS_QUOTA_GDQ_ENFD >+#endif > #endif > #define HAVE_GROUP_QUOTA > #else /* IRIX */ >-- >1.7.11.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 7814
: 7888