From 1f1b463eb250b98954c96837d880cc0e07e109aa Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Thu, 27 Sep 2001 21:34:57 +0000 Subject: Implemented setting only limits by commit_dquot() so edquota & setquota can operate safe on live filesystem. --- quotaio_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quotaio_rpc.c') diff --git a/quotaio_rpc.c b/quotaio_rpc.c index f02727d..258ccc7 100644 --- a/quotaio_rpc.c +++ b/quotaio_rpc.c @@ -14,7 +14,7 @@ #include "pot.h" static struct dquot *rpc_read_dquot(struct quota_handle *h, qid_t id); -static int rpc_commit_dquot(struct dquot *dquot); +static int rpc_commit_dquot(struct dquot *dquot, int flags); struct quotafile_ops quotafile_ops_rpc = { NULL, /* init_io */ @@ -52,7 +52,7 @@ static struct dquot *rpc_read_dquot(struct quota_handle *h, qid_t id) /* * Write a dqblk struct to RPC server - just wrapper function. */ -static int rpc_commit_dquot(struct dquot *dquot) +static int rpc_commit_dquot(struct dquot *dquot, int flags) { #ifdef RPC int ret; -- cgit v1.2.3