summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot.c
diff options
context:
space:
mode:
authorEric Sandeen2018-05-05 00:15:48 +0200
committerDarrick J. Wong2018-05-09 19:04:01 +0200
commite381a0f6c28a3f2a452d5fba9b917f03e5dc4ffb (patch)
treebffbaa3acd360ac1bdc4fcb3d3a53c467adc9e3a /fs/xfs/xfs_dquot.c
parentxfs: clean up locking in xfs_file_iomap_begin (diff)
downloadkernel-qcow2-linux-e381a0f6c28a3f2a452d5fba9b917f03e5dc4ffb.tar.gz
kernel-qcow2-linux-e381a0f6c28a3f2a452d5fba9b917f03e5dc4ffb.tar.xz
kernel-qcow2-linux-e381a0f6c28a3f2a452d5fba9b917f03e5dc4ffb.zip
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 <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
-rw-r--r--fs/xfs/xfs_dquot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index a7daef9e16bf..8d378f485260 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -1001,7 +1001,7 @@ xfs_qm_dqflush(
/*
* A simple sanity check in case we got a corrupted dquot..
*/
- fa = xfs_dquot_verify(mp, &dqp->q_core, be32_to_cpu(ddqp->d_id), 0, 0);
+ fa = xfs_dquot_verify(mp, &dqp->q_core, be32_to_cpu(ddqp->d_id), 0);
if (fa) {
xfs_alert(mp, "corrupt dquot ID 0x%x in memory at %pS",
be32_to_cpu(ddqp->d_id), fa);