summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2020-05-21 22:07:00 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-27 17:49:26 +0200
commit3dbb9aa310089702ac1023296d26672f36ea4096 (patch)
treec166a7dee460ebe0bdbb31020ac5b005e558b845 /fs/xfs/xfs_dquot.c
parentxfs: fix up some whitespace in quota code (diff)
downloadlinux-3dbb9aa310089702ac1023296d26672f36ea4096.tar.xz
linux-3dbb9aa310089702ac1023296d26672f36ea4096.zip
xfs: pass xfs_dquot to xfs_qm_adjust_dqtimers
Pass xfs_dquot rather than xfs_disk_dquot to xfs_qm_adjust_dqtimers; this makes it symmetric with xfs_qm_adjust_dqlimits and will help the next patch. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Allison Collins <allison.henderson@oracle.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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index 55b95d45303b..714eceacbab2 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -114,8 +114,9 @@ xfs_qm_adjust_dqlimits(
void
xfs_qm_adjust_dqtimers(
struct xfs_mount *mp,
- struct xfs_disk_dquot *d)
+ struct xfs_dquot *dq)
{
+ struct xfs_disk_dquot *d = &dq->q_core;
ASSERT(d->d_id);
#ifdef DEBUG