xfs: remove unnecessary arguments from quota adjust functions
struct xfs_dquot already has a pointer to the xfs mount, so remove the redundant parameter from xfs_qm_adjust_dq*. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -1103,8 +1103,8 @@ xfs_qm_quotacheck_dqadjust(
|
||||
* There are no timers for the default values set in the root dquot.
|
||||
*/
|
||||
if (dqp->q_id) {
|
||||
xfs_qm_adjust_dqlimits(mp, dqp);
|
||||
xfs_qm_adjust_dqtimers(mp, dqp);
|
||||
xfs_qm_adjust_dqlimits(dqp);
|
||||
xfs_qm_adjust_dqtimers(dqp);
|
||||
}
|
||||
|
||||
dqp->q_flags |= XFS_DQFLAG_DIRTY;
|
||||
|
Reference in New Issue
Block a user