diff options
author | jkar8572 <jkar8572> | 2001-09-27 21:34:57 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-09-27 21:34:57 +0000 |
commit | 1f1b463eb250b98954c96837d880cc0e07e109aa (patch) | |
tree | fddf4986a37d15d5640a3115b2aac4fd4611a090 /quotaio_xfs.c | |
parent | 6cac7d8ee94d9262117e27df014a8b76ff889bde (diff) |
Implemented setting only limits by commit_dquot() so edquota & setquota can operate
safe on live filesystem.
Diffstat (limited to 'quotaio_xfs.c')
-rw-r--r-- | quotaio_xfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quotaio_xfs.c b/quotaio_xfs.c index 256238e..15e75f6 100644 --- a/quotaio_xfs.c +++ b/quotaio_xfs.c @@ -27,7 +27,7 @@ static int xfs_init_io(struct quota_handle *h); static int xfs_write_info(struct quota_handle *h); static struct dquot *xfs_read_dquot(struct quota_handle *h, qid_t id); -static int xfs_commit_dquot(struct dquot *dquot); +static int xfs_commit_dquot(struct dquot *dquot, int flags); static int xfs_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct dquot *dquot, char *dqname)); static int xfs_report(struct quota_handle *h, int verbose); @@ -139,7 +139,7 @@ static struct dquot *xfs_read_dquot(struct quota_handle *h, qid_t id) /* * Write a dqblk struct to the XFS quota manager */ -static int xfs_commit_dquot(struct dquot *dquot) +static int xfs_commit_dquot(struct dquot *dquot, int flags) { struct quota_handle *h = dquot->dq_h; struct xfs_kern_dqblk xdqblk; |