diff options
author | jkar8572 <jkar8572> | 2010-05-27 13:12:57 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2010-05-27 13:12:57 +0000 |
commit | b58944b582722dd3c56893eb4b6c8b8a0291201d (patch) | |
tree | 2e14a35553f2d7f7ee4b33724125dd5d1c513776 /quotaio_v2.c | |
parent | 4d4237de538f7c42b157dfa0ef5d711ae72d3566 (diff) |
* fix repquota to get latest quota info header (Jan Kara)
Diffstat (limited to 'quotaio_v2.c')
-rw-r--r-- | quotaio_v2.c | 5 |
1 files changed, 0 insertions, 5 deletions
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); } |