From e381a0f6c28a3f2a452d5fba9b917f03e5dc4ffb Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 4 May 2018 15:15:48 -0700 Subject: xfs: remove unused flags arg from xfs_dquot_verify Long ago the flags argument was used to determine whether to issue warnings about corruptions, but that's done elsewhere now and the flag is unused here, so remove it. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_dquot_buf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fs/xfs/libxfs/xfs_dquot_buf.c') diff --git a/fs/xfs/libxfs/xfs_dquot_buf.c b/fs/xfs/libxfs/xfs_dquot_buf.c index 8b7a6c3cb599..a926058f7b0c 100644 --- a/fs/xfs/libxfs/xfs_dquot_buf.c +++ b/fs/xfs/libxfs/xfs_dquot_buf.c @@ -47,8 +47,7 @@ xfs_dquot_verify( struct xfs_mount *mp, xfs_disk_dquot_t *ddq, xfs_dqid_t id, - uint type, /* used only when IO_dorepair is true */ - uint flags) + uint type) /* used only when IO_dorepair is true */ { /* * We can encounter an uninitialized dquot buffer for 2 reasons: @@ -200,7 +199,7 @@ xfs_dquot_buf_verify( if (i == 0) id = be32_to_cpu(ddq->d_id); - fa = xfs_dquot_verify(mp, ddq, id + i, 0, 0); + fa = xfs_dquot_verify(mp, ddq, id + i, 0); if (fa) return fa; } -- cgit v1.2.3-70-g09d2