diff options
| author | Yuezhang Mo <[email protected]> | 2024-10-17 01:25:06 +0000 |
|---|---|---|
| committer | Namjae Jeon <[email protected]> | 2024-11-25 08:08:21 +0000 |
| commit | 2e94e5bb94a3e641a25716a560bf474225fda83c (patch) | |
| tree | 64be23a3cde0912aab6fdd267c208e9dc22d6cbb /drivers/gpu/drm/amd | |
| parent | exfat: fix uninit-value in __exfat_get_dentry_set (diff) | |
| download | kernel-2e94e5bb94a3e641a25716a560bf474225fda83c.tar.gz kernel-2e94e5bb94a3e641a25716a560bf474225fda83c.zip | |
exfat: fix file being changed by unaligned direct write
Unaligned direct writes are invalid and should return an error
without making any changes, rather than extending ->valid_size
and then returning an error. Therefore, alignment checking is
required before extending ->valid_size.
Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength")
Signed-off-by: Yuezhang Mo <[email protected]>
Co-developed-by: Namjae Jeon <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd')
0 files changed, 0 insertions, 0 deletions
