diff options
author | Brian Foster <bfoster@redhat.com> | 2013-03-18 10:51:45 -0400 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-03-22 16:05:52 -0500 |
commit | 4b6eae2e6ac8a6671839ccaea1c2e3dd5684f5df (patch) | |
tree | f10d88c625429675ba36a1c0a3bc013a737891c2 /fs/xfs/xfs_qm.c | |
parent | c9bdbdc0741d90908f492415c890b630f43f17f8 (diff) | |
download | linux-4b6eae2e6ac8a6671839ccaea1c2e3dd5684f5df.tar.gz linux-4b6eae2e6ac8a6671839ccaea1c2e3dd5684f5df.tar.bz2 linux-4b6eae2e6ac8a6671839ccaea1c2e3dd5684f5df.zip |
xfs: pass xfs_dquot to xfs_qm_adjust_dqlimits() instead of xfs_disk_dquot_t
Modify xfs_qm_adjust_dqlimits() to take the xfs_dquot as a
parameter instead of just the xfs_disk_dquot_t so we can update
in-memory fields if necessary.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index e5b5cf973781..d0acb4e40a6f 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1057,7 +1057,7 @@ xfs_qm_quotacheck_dqadjust( * There are no timers for the default values set in the root dquot. */ if (dqp->q_core.d_id) { - xfs_qm_adjust_dqlimits(mp, &dqp->q_core); + xfs_qm_adjust_dqlimits(mp, dqp); xfs_qm_adjust_dqtimers(mp, &dqp->q_core); } |