diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-05-22 04:00:00 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-15 14:00:49 +0300 |
| commit | c7034e0bcb087754317d058b1149bb53e0a13213 (patch) | |
| tree | 1cd291d109adcb97e8222a19c8c154bcd62390f2 /include/linux/debugobjects.h | |
| parent | b4b7fe2c7cbf519ab5e7edc6625c71608805fb1d (diff) | |
| download | linux-c7034e0bcb087754317d058b1149bb53e0a13213.tar.xz | |
exfat: serialize truncate against in-flight DIO
exfat_setattr() did not call inode_dio_wait() before performing a size
change, leaving a window where a concurrent in-flight DIO write could be
operating on clusters that the truncate is about to free.
Add inode_dio_wait() before the truncate_setsize()/exfat_truncate()
sequence so that any in-flight DIO completes before cluster freeing
begins.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
