summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:24:40 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:41:13 -0700
commit273283336b5bfd39ec966e1306454a2452489522 (patch)
tree4428120087342b47fbf33eb3230a36cff298e4db /fs/xfs/xfs_qm.c
parent7301613752c4351c99e1a4ae52ca4f1e849f39dd (diff)
xfs: fix rt growfs quota accounting
When growing the realtime bitmap or summary inodes, use xfs_trans_alloc_inode to reserve quota for the blocks that could be allocated to the file. Although we never enforce limits against the root dquot, making a reservation means that the bmap code will update the quota block count, which is necessary for correct accounting. Found by running xfs/521. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
0 files changed, 0 insertions, 0 deletions