diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-06 07:58:00 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-06 09:08:57 +0200 |
commit | a6df44b3ae1ca6395d05e1af804a779d785358db (patch) | |
tree | 8d1400cb29928860ee77f733ce6596e07e1408d3 | |
parent | baf2db685f1d2bff712d45288abf116f903039ed (diff) | |
download | samba-a6df44b3ae1ca6395d05e1af804a779d785358db.tar.gz samba-a6df44b3ae1ca6395d05e1af804a779d785358db.tar.bz2 samba-a6df44b3ae1ca6395d05e1af804a779d785358db.zip |
sysquota: we need to list nfs4 as a separate fs name for the sys_get_nfs_quota backend
at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
-rw-r--r-- | source3/lib/sysquotas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index ecd5147d86..84679f4bcf 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -177,6 +177,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} }; |