aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorYuezhang Mo <[email protected]>2024-10-17 09:25:06 +0800
committerNamjae Jeon <[email protected]>2024-11-25 17:08:21 +0900
commit2e94e5bb94a3e641a25716a560bf474225fda83c (patch)
tree64be23a3cde0912aab6fdd267c208e9dc22d6cbb /drivers/fpga/xilinx-selectmap.c
parent02dffe9ab092fc4c8800aee68cb7eafd37a980c4 (diff)
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/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions