diff options
| author | 2021-03-29 11:11:40 -0700 | |
|---|---|---|
| committer | 2021-04-07 14:37:03 -0700 | |
| commit | 6e73a545f91e128d8dd7da1769dca200225f5d82 (patch) | |
| tree | 906751d5c19e819b264ee0fa00eda26a8de6a89e /fs/xfs/xfs_trans.c | |
| parent | xfs: move the di_size field to struct xfs_inode (diff) | |
| download | linux-dev-6e73a545f91e128d8dd7da1769dca200225f5d82.tar.xz linux-dev-6e73a545f91e128d8dd7da1769dca200225f5d82.zip | |
xfs: move the di_nblocks field to struct xfs_inode
In preparation of removing the historic icinode struct, move the nblocks
field into the containing xfs_inode structure.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_trans.c')
| -rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index bc25afc10245..bcc978011869 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c @@ -1189,7 +1189,7 @@ retry: * though that part is only semi-transactional. */ error = xfs_trans_reserve_quota_bydquots(tp, mp, udqp, gdqp, - pdqp, ip->i_d.di_nblocks + ip->i_delayed_blks, + pdqp, ip->i_nblocks + ip->i_delayed_blks, 1, qflags); if ((error == -EDQUOT || error == -ENOSPC) && !retried) { xfs_trans_cancel(tp); |
