diff options
| author | Chi Zhiling <chizhiling@kylinos.cn> | 2026-10-04 18:19:32 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-21 08:28:30 +0900 |
| commit | 03ac97285b699954fa7bc24f8b6cdc1830c94d28 (patch) | |
| tree | 971d3ac825c92b499afb1d0201ef8ce0fb0cafad /scripts/Makefile.thinlto | |
| parent | 646df471c37483eb31548d76a1b062775db71d60 (diff) | |
| download | linux-03ac97285b699954fa7bc24f8b6cdc1830c94d28.tar.gz linux-03ac97285b699954fa7bc24f8b6cdc1830c94d28.zip | |
exfat: dirty all new pages when extending valid_size
In the current code, exfat_zero_new_range() does not mark non-uptodate
pages as dirty, which may cause some blocks within a page to not be
written back.
This commit no longer checks each block in a non-uptodate page
individually. Instead, it reads the entire page back into the cache and
then writes it back as a whole. This allows concurrent writes and zeroing
operations to be synchronized using the folio lock.
Fixes: 1135704ed22f ("exfat: fix valid_size extension over a shared writable mapping")
Cc: stable@vger.kernel.org
Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
