diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-13 01:23:12 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-09-21 09:44:44 +0200 |
commit | 536be09e802db2f93ed02690d219ed6ccec908c3 (patch) | |
tree | 719ca7eebf0a8d6fdb39639f626b6298251e9797 | |
parent | 5463fcf7dca60c902946f36437c034137d9078b0 (diff) | |
download | samba-536be09e802db2f93ed02690d219ed6ccec908c3.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
(cherry picked from commit a3eb8d765e48bcbe86458791ec61325a517bd7dd)
-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 */ |