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:
@@ -67,9 +67,9 @@ xfs_qm_dqdestroy(
|
||||
*/
|
||||
void
|
||||
xfs_qm_adjust_dqlimits(
|
||||
struct xfs_mount *mp,
|
||||
struct xfs_dquot *dq)
|
||||
{
|
||||
struct xfs_mount *mp = dq->q_mount;
|
||||
struct xfs_quotainfo *q = mp->m_quotainfo;
|
||||
struct xfs_def_quota *defq;
|
||||
int prealloc = 0;
|
||||
@@ -113,9 +113,9 @@ xfs_qm_adjust_dqlimits(
|
||||
*/
|
||||
void
|
||||
xfs_qm_adjust_dqtimers(
|
||||
struct xfs_mount *mp,
|
||||
struct xfs_dquot *dq)
|
||||
{
|
||||
struct xfs_mount *mp = dq->q_mount;
|
||||
struct xfs_quotainfo *qi = mp->m_quotainfo;
|
||||
struct xfs_def_quota *defq;
|
||||
|
||||
|
Reference in New Issue
Block a user