diff options
| author | Chi Zhiling <chizhiling@kylinos.cn> | 2026-10-04 18:19:31 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-21 08:28:30 +0900 |
| commit | 646df471c37483eb31548d76a1b062775db71d60 (patch) | |
| tree | 233d86f90d9922c6d84f73cebe9fafd3a3b12530 /scripts/Makefile.thinlto | |
| parent | b70ab407503706289163dd59f1ac3e942bacc37d (diff) | |
| download | linux-646df471c37483eb31548d76a1b062775db71d60.tar.gz linux-646df471c37483eb31548d76a1b062775db71d60.zip | |
exfat: hold the invalidate lock while truncating
truncate_setsize() ends in truncate_inode_pages(), which is documented
as being "Called under (and serialised by) inode->i_rwsem and
mapping->invalidate_lock".
Hold invalidate_lock while executing truncate_setsize() to ensure that
truncate and mmap writes are mutually exclusive. This can simplify the
handling in exfat_page_mkwrite().
Fixes: 82a81a7352bc ("exfat: add iomap buffered I/O support")
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
