diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-13 01:23:12 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-09-17 11:55:36 +0200 |
commit | a3eb8d765e48bcbe86458791ec61325a517bd7dd (patch) | |
tree | 666ae73df97a4c4a4ac664b3fc9c3d32c513eab6 | |
parent | 25bf057288d5e77c07a5ed3d3c3fb7f5f33f62b6 (diff) | |
download | samba-a3eb8d765e48bcbe86458791ec61325a517bd7dd.tar.gz |
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
-rw-r--r-- | source3/lib/sysquotas_xfs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c index 1e438e9a6d6..1e3d9527dd5 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 */ |