[XFS] Remove unused Falgs parameter from xfs_qm_dqpurge()

SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31056a

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
Denys Vlasenko 2008-05-19 16:34:04 +10:00 committed by Niv Sardi
parent f0e2d93c29
commit 4f0e8a9816
3 changed files with 3 additions and 4 deletions

View File

@ -1435,8 +1435,7 @@ xfs_dqlock2(
/* ARGSUSED */ /* ARGSUSED */
int int
xfs_qm_dqpurge( xfs_qm_dqpurge(
xfs_dquot_t *dqp, xfs_dquot_t *dqp)
uint flags)
{ {
xfs_dqhash_t *thishash; xfs_dqhash_t *thishash;
xfs_mount_t *mp = dqp->q_mount; xfs_mount_t *mp = dqp->q_mount;

View File

@ -164,7 +164,7 @@ extern void xfs_qm_dqprint(xfs_dquot_t *);
extern void xfs_qm_dqdestroy(xfs_dquot_t *); extern void xfs_qm_dqdestroy(xfs_dquot_t *);
extern int xfs_qm_dqflush(xfs_dquot_t *, uint); extern int xfs_qm_dqflush(xfs_dquot_t *, uint);
extern int xfs_qm_dqpurge(xfs_dquot_t *, uint); extern int xfs_qm_dqpurge(xfs_dquot_t *);
extern void xfs_qm_dqunpin_wait(xfs_dquot_t *); extern void xfs_qm_dqunpin_wait(xfs_dquot_t *);
extern int xfs_qm_dqlock_nowait(xfs_dquot_t *); extern int xfs_qm_dqlock_nowait(xfs_dquot_t *);
extern int xfs_qm_dqflock_nowait(xfs_dquot_t *); extern int xfs_qm_dqflock_nowait(xfs_dquot_t *);

View File

@ -631,7 +631,7 @@ xfs_qm_dqpurge_int(
* freelist in INACTIVE state. * freelist in INACTIVE state.
*/ */
nextdqp = dqp->MPL_NEXT; nextdqp = dqp->MPL_NEXT;
nmisses += xfs_qm_dqpurge(dqp, flags); nmisses += xfs_qm_dqpurge(dqp);
dqp = nextdqp; dqp = nextdqp;
} }
xfs_qm_mplist_unlock(mp); xfs_qm_mplist_unlock(mp);