summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:30 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:30 -0700
commit058529c5f51cd680eddbc6c42f56d490e290dd78 (patch)
treed9dcd383f4e1d6935e95e0e853f765063576fd7b /fs/xfs/xfs_dquot.c
parent64396ff2c25b2cd8156948a64ae0da5ff962e3f2 (diff)
downloadlinux-058529c5f51cd680eddbc6c42f56d490e290dd78.tar.bz2
xfs: use ->t_firstblock in dq alloc
Signed-off-by: Brian Foster <bfoster@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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index 84359eeb20f4..3b61b4d266b4 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -540,14 +540,13 @@ xfs_qm_dqread_alloc(
struct xfs_trans *tp;
struct xfs_defer_ops dfops;
struct xfs_buf *bp;
- xfs_fsblock_t firstblock;
int error;
error = xfs_trans_alloc(mp, &M_RES(mp)->tr_qm_dqalloc,
XFS_QM_DQALLOC_SPACE_RES(mp), 0, 0, &tp);
if (error)
goto err;
- xfs_defer_init(tp, &dfops, &firstblock);
+ xfs_defer_init(tp, &dfops, &tp->t_firstblock);
error = xfs_dquot_disk_alloc(&tp, dqp, &bp);
if (error)