diff options
-rw-r--r-- | WHATSNEW.txt | 2 | ||||
-rw-r--r-- | source3/lib/sysquotas.c | 4 |
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} }; |