From 2c1f07b66af22444c88f3f4e1e39837b1ce922d6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Jan 2004 02:51:41 +0000 Subject: fix XFS quotas the macro changed from HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS metze (This used to be commit c73e845055163c1d814710fe4d9960c7f3587f12) --- WHATSNEW.txt | 2 +- source3/lib/sysquotas.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WHATSNEW.txt b/WHATSNEW.txt index 7cbde39b788..b41e0689707 100644 --- a/WHATSNEW.txt +++ b/WHATSNEW.txt @@ -39,7 +39,7 @@ o Volker Lendecke o Stefan Metzmacher - + * Fix XFS quotas: HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS o Tim Potter diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 6883444e005..84ab3dd3d9b 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} }; -- cgit