summaryrefslogtreecommitdiff
path: root/quotaio_rpc.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 /quotaio_rpc.c
parent6cac7d8ee94d9262117e27df014a8b76ff889bde (diff)
Implemented setting only limits by commit_dquot() so edquota & setquota can operate
safe on live filesystem.
Diffstat (limited to 'quotaio_rpc.c')
-rw-r--r--quotaio_rpc.c4
1 files changed, 2 insertions, 2 deletions
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;