git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf2db6
)
sysquota: we need to list nfs4 as a separate fs name for the sys_get_nfs_quota backend
author
Björn Jacke
<bj@sernet.de>
Thu, 6 Sep 2012 05:58:00 +0000
(07:58 +0200)
committer
Bjoern Jacke
<bj@sernet.de>
Thu, 6 Sep 2012 07:08:57 +0000
(09:08 +0200)
at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
source3/lib/sysquotas.c
patch
|
blob
|
history
diff --git
a/source3/lib/sysquotas.c
b/source3/lib/sysquotas.c
index ecd5147d86550b905e9a90e1b3ea3b7aec67b084..84679f4bcf3e69636ffdca049c5d9fbe4a2eba7a 100644
(file)
--- 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}
};