From b58944b582722dd3c56893eb4b6c8b8a0291201d Mon Sep 17 00:00:00 2001 From: jkar8572 Date: Thu, 27 May 2010 13:12:57 +0000 Subject: * fix repquota to get latest quota info header (Jan Kara) --- quotaio_v2.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'quotaio_v2.c') diff --git a/quotaio_v2.c b/quotaio_v2.c index 2e3c725..38440e7 100644 --- a/quotaio_v2.c +++ b/quotaio_v2.c @@ -484,11 +484,6 @@ static int v2_commit_dquot(struct dquot *dquot, int flags) static int v2_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct dquot *, char *)) { - if (QIO_ENABLED(h)) /* Kernel uses same file? */ - if (quotactl(QCMD((kernel_iface == IFACE_GENERIC) ? Q_SYNC : Q_6_5_SYNC, h->qh_type), - h->qh_quotadev, 0, NULL) < 0) - die(4, _("Cannot sync quotas on device %s: %s\n"), h->qh_quotadev, - strerror(errno)); return qtree_scan_dquots(h, process_dquot); } -- cgit v1.2.3