diff options
author | jkar8572 <jkar8572> | 2001-03-26 15:47:32 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2001-03-26 15:47:32 +0000 |
commit | 06c43890e2973a133577dcf87d7ea8523659495e (patch) | |
tree | 7b9fa59d687906a9145ae87747b6f1482850c172 /quotaio_v2.c | |
parent | ec1d4ef4651205d3815163d161edc538b5e4e665 (diff) | |
download | linuxquota-06c43890e2973a133577dcf87d7ea8523659495e.tar.gz |
Changed callbacks initialization to label-like one.
Diffstat (limited to 'quotaio_v2.c')
-rw-r--r-- | quotaio_v2.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/quotaio_v2.c b/quotaio_v2.c index f200b3a..7d82dcf 100644 --- a/quotaio_v2.c +++ b/quotaio_v2.c @@ -27,14 +27,13 @@ static int v2_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct d static int v2_report(struct quota_handle *h, int verbose); struct quotafile_ops quotafile_ops_2 = { - v2_init_io, - v2_new_io, - NULL, /* end_io */ - v2_write_info, - v2_read_dquot, - v2_commit_dquot, - v2_scan_dquots, - v2_report +init_io: v2_init_io, +new_io: v2_new_io, +write_info: v2_write_info, +read_dquot: v2_read_dquot, +commit_dquot: v2_commit_dquot, +scan_dquots: v2_scan_dquots, +report: v2_report }; #define getdqbuf() smalloc(V2_DQBLKSIZE) |