summaryrefslogtreecommitdiff
path: root/fs/f2fs/iostat.h
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-09-17 18:55:27 -0700
commit1724bf5a47f9ecad13ce57f10b36c0760730d666 (patch)
tree66c05d5f84e41970ba77a4fef53b0d445fb16b21 /fs/f2fs/iostat.h
parentd632735644f2658067bd38384ae151f6d60cfa48 (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/f2fs/iostat.h')
0 files changed, 0 insertions, 0 deletions