summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChi Zhiling <chizhiling@kylinos.cn>2026-10-04 18:19:31 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-21 08:28:30 +0900
commit646df471c37483eb31548d76a1b062775db71d60 (patch)
tree233d86f90d9922c6d84f73cebe9fafd3a3b12530 /scripts/Makefile.thinlto
parentb70ab407503706289163dd59f1ac3e942bacc37d (diff)
downloadlinux-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