summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-01-14 02:51:41 +0000
committerStefan Metzmacher <metze@samba.org>2004-01-14 02:51:41 +0000
commit2c1f07b66af22444c88f3f4e1e39837b1ce922d6 (patch)
tree1d9420ea9d585266d5db9d5f02634fa05a742b14
parentade34c9adea9df67bbbee2ab37113ead1ec333a7 (diff)
downloadsamba-2c1f07b66af22444c88f3f4e1e39837b1ce922d6.tar.gz
samba-2c1f07b66af22444c88f3f4e1e39837b1ce922d6.tar.bz2
samba-2c1f07b66af22444c88f3f4e1e39837b1ce922d6.zip
fix XFS quotas the macro changed from HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
metze (This used to be commit c73e845055163c1d814710fe4d9960c7f3587f12)
-rw-r--r--WHATSNEW.txt2
-rw-r--r--source3/lib/sysquotas.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 7cbde39b78..b41e068970 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -39,7 +39,7 @@ o Volker Lendecke <vl@samba.org>
o Stefan Metzmacher <metze@samba.org>
-
+ * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
o Tim Potter <tpot@samba.org>
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c
index 6883444e00..84ab3dd3d9 100644
--- a/source3/lib/sysquotas.c
+++ b/source3/lib/sysquotas.c
@@ -169,9 +169,9 @@ static struct {
int (*get_quota)(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp);
int (*set_quota)(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp);
} sys_quota_backends[] = {
-#ifdef HAVE_XFS_QUOTA
+#ifdef HAVE_XFS_QUOTAS
{"xfs", sys_get_xfs_quota, sys_set_xfs_quota},
-#endif /* HAVE_XFS_QUOTA */
+#endif /* HAVE_XFS_QUOTAS */
{NULL, NULL, NULL}
};