diff options
author | Jan Kara <[email protected]> | 2022-12-07 12:59:28 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-12-08 22:03:15 -0500 |
commit | 8994d11395f8165b3deca1971946f549f0822630 (patch) | |
tree | 59be548da6d1b873ee2f48afda2c257473145a8d /scripts/generate_rust_analyzer.py | |
parent | 1485f726c6dec1a1f85438f2962feaa3d585526f (diff) |
ext4: avoid unaccounted block allocation when expanding inode
When expanding inode space in ext4_expand_extra_isize_ea() we may need
to allocate external xattr block. If quota is not initialized for the
inode, the block allocation will not be accounted into quota usage. Make
sure the quota is initialized before we try to expand inode space.
Reported-by: Pengfei Xu <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions