diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:16:18 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:17:27 -0700 |
commit | 621d16dccbe0f464cd6b260366b8740adca96b82 (patch) | |
tree | 729bb9a74db9ae6730d897871f7004d16028d6f7 /usr | |
parent | a111a1c44433c60d31a1de79ed5d60844a0038bd (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 'usr')
0 files changed, 0 insertions, 0 deletions