From d743a042a6a12a9df92195f15f667be3ee068715 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 6 Sep 2012 07:58:00 +0200 Subject: [PATCH] sysquota: we need to list nfs4 as a separate fs name for the sys_get_nfs_quota backend MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs (cherry picked from commit a6df44b3ae1ca6395d05e1af804a779d785358db) Fix bug #9144 - nfs quota support not working with Linux nfs4 mounts. (cherry picked from commit e059bcc59498661f165b13fb84edcb80900815ce) --- source3/lib/sysquotas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 12c34edaa2c..9fdf3a0472f 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -179,6 +179,7 @@ static struct { #endif /* HAVE_XFS_QUOTAS */ #ifdef HAVE_NFS_QUOTAS {"nfs", sys_get_nfs_quota, sys_set_nfs_quota}, + {"nfs4", sys_get_nfs_quota, sys_set_nfs_quota}, #endif /* HAVE_NFS_QUOTAS */ {NULL, NULL, NULL} }; -- 2.11.4.GIT