summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-13 14:59:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:58 -0500
commit1bd3cbd3125e03117aed4288f1addcdfd9f1f109 (patch)
tree7ff1a49e87890b2ed55c855000894acf5b50d1d3 /source3
parentde0776cdaa3e4c5fab9fe7adfd5fdb3e7b2b1659 (diff)
downloadsamba-1bd3cbd3125e03117aed4288f1addcdfd9f1f109.tar.gz
samba-1bd3cbd3125e03117aed4288f1addcdfd9f1f109.tar.bz2
samba-1bd3cbd3125e03117aed4288f1addcdfd9f1f109.zip
r10962: fix setting of quotas on linux kernel with the
struct if_dqblk interface metze (This used to be commit 1eafe33c887194d828d685ac8677469917b6c419)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/sysquotas_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/sysquotas_linux.c b/source3/lib/sysquotas_linux.c
index 28a86196e2..761562b402 100644
--- a/source3/lib/sysquotas_linux.c
+++ b/source3/lib/sysquotas_linux.c
@@ -394,6 +394,7 @@ static int sys_set_linux_gen_quota(const char *path, const char *bdev, enum SMB_
D.dqb_ihardlimit = (dp->ihardlimit*dp->bsize)/bsize;
D.dqb_isoftlimit = (dp->isoftlimit*dp->bsize)/bsize;
}
+ D.dqb_valid = QIF_LIMITS;
qflags = dp->qflags;