summaryrefslogtreecommitdiff
path: root/quotaops.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-09-27 21:34:57 +0000
committerjkar8572 <jkar8572>2001-09-27 21:34:57 +0000
commit1f1b463eb250b98954c96837d880cc0e07e109aa (patch)
treefddf4986a37d15d5640a3115b2aac4fd4611a090 /quotaops.c
parent6cac7d8ee94d9262117e27df014a8b76ff889bde (diff)
Implemented setting only limits by commit_dquot() so edquota & setquota can operate
safe on live filesystem.
Diffstat (limited to 'quotaops.c')
-rw-r--r--quotaops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotaops.c b/quotaops.c
index 338cdf3..71628d4 100644
--- a/quotaops.c
+++ b/quotaops.c
@@ -34,7 +34,7 @@
#ident "$Copyright: (c) 1980, 1990 Regents of the University of California. $"
#ident "$Copyright: All rights reserved. $"
-#ident "$Id: quotaops.c,v 1.6 2001/08/22 21:17:56 jkar8572 Exp $"
+#ident "$Id: quotaops.c,v 1.7 2001/09/27 21:34:58 jkar8572 Exp $"
#include <rpc/rpc.h>
#include <sys/types.h>
@@ -176,7 +176,7 @@ int putprivs(struct dquot *qlist)
struct dquot *q;
for (q = qlist; q; q = q->dq_next) {
- if (q->dq_h->qh_ops->commit_dquot(q) == -1) {
+ if (q->dq_h->qh_ops->commit_dquot(q, COMMIT_LIMITS) == -1) {
errstr(_("Can't write quota for %u on %s: %s\n"),
q->dq_id, q->dq_h->qh_quotadev, strerror(errno));
continue;