From 48448ca24e00e530e59d774bfdb3c2a76616330c Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Tue, 25 Sep 2001 15:56:59 +0000 Subject: repquota now buffers entries to be printed when resolving is needed (major speedup). Workaround for bug in RH 7.1 kernel (Anders Blomdell) --- quotaio_v2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'quotaio_v2.c') diff --git a/quotaio_v2.c b/quotaio_v2.c index 76a3681..cd0d3c4 100644 --- a/quotaio_v2.c +++ b/quotaio_v2.c @@ -662,7 +662,6 @@ static int report_block(struct dquot *dquot, uint blk, char *bitmap, dqbuf_t buf = getdqbuf(); struct v2_disk_dqdbheader *dh; struct v2_disk_dqblk *ddata; - char name[MAXNAMELEN]; int entries, i; set_bit(bitmap, blk); @@ -674,8 +673,7 @@ static int report_block(struct dquot *dquot, uint blk, char *bitmap, if (!empty_dquot(ddata + i)) { v2_disk2memdqblk(&dquot->dq_dqb, ddata + i); dquot->dq_id = __le32_to_cpu(ddata[i].dqb_id); - id2name(dquot->dq_id, dquot->dq_h->qh_type, name); - if (process_dquot(dquot, name) < 0) + if (process_dquot(dquot, NULL) < 0) break; } freedqbuf(buf); -- cgit v1.2.3