[XFS] xfs_qm_reset_dqcounts() does not return errors.
Declare it void. SGI-PV: 980084 SGI-Modid: xfs-linux-melb:xfs-kern:30785a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
714082bc12
commit
5b1397385b
|
@ -1438,7 +1438,7 @@ xfs_qm_qino_alloc(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
STATIC int
|
STATIC void
|
||||||
xfs_qm_reset_dqcounts(
|
xfs_qm_reset_dqcounts(
|
||||||
xfs_mount_t *mp,
|
xfs_mount_t *mp,
|
||||||
xfs_buf_t *bp,
|
xfs_buf_t *bp,
|
||||||
|
@ -1478,8 +1478,6 @@ xfs_qm_reset_dqcounts(
|
||||||
ddq->d_rtbwarns = 0;
|
ddq->d_rtbwarns = 0;
|
||||||
ddq = (xfs_disk_dquot_t *) ((xfs_dqblk_t *)ddq + 1);
|
ddq = (xfs_disk_dquot_t *) ((xfs_dqblk_t *)ddq + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC int
|
STATIC int
|
||||||
|
@ -1520,7 +1518,7 @@ xfs_qm_dqiter_bufs(
|
||||||
if (error)
|
if (error)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
(void) xfs_qm_reset_dqcounts(mp, bp, firstid, type);
|
xfs_qm_reset_dqcounts(mp, bp, firstid, type);
|
||||||
xfs_bdwrite(mp, bp);
|
xfs_bdwrite(mp, bp);
|
||||||
/*
|
/*
|
||||||
* goto the next block.
|
* goto the next block.
|
||||||
|
|
Loading…
Reference in New Issue