Re: [PATCH v2 0/3] ext4: fix some ext4_lblk_t overflow issues
From: Theodore Ts'o
Date: Thu Aug 03 2023 - 10:39:40 EST
On Mon, 24 Jul 2023 20:10:56 +0800, Baokun Li wrote:
> Changes since v1:
> * Rename fex_end() and pa_end() to extent_logical_end() and pa_logical_end()
> to make the code more readable.
> * Refactor the logic for adjusting the best extent in ext4_mb_new_inode_pa()
> to simplify the code and remove redundant parameter for helper function.
> * Merged patch 4 to patch 1 as mainline commit 9d3de7ee192a fixed the issue.
>
> [...]
Applied, thanks!
[1/3] ext4: add two helper functions extent_logical_end() and pa_logical_end()
commit: 43bbddc067883d94de7a43d5756a295439fbe37d
[2/3] ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
commit: bc056e7163ac7db945366de219745cf94f32a3e6
[3/3] ext4: avoid overlapping preallocations due to overflow
commit: bedc5d34632c21b5adb8ca7143d4c1f794507e4c
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>