summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorSungjong Seo <sj1557.seo@samsung.com>2025-03-26 18:01:16 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2025-03-29 16:03:11 +0300
commitc73e680d1f84059e1b1ea82a537f6ccc1c563eb4 (patch)
tree5343f109c1b75ddfa72c41d1dbb57a0f3c32e9e5 /lib/test_fortify/write_overflow-strncpy.c
parent59c30e31425833385e6644ad33151420e37eabe1 (diff)
downloadlinux-c73e680d1f84059e1b1ea82a537f6ccc1c563eb4.tar.xz
exfat: call bh_read in get_block only when necessary
With commit 11a347fb6cef ("exfat: change to get file size from DataLength"), exfat_get_block() can now handle valid_size. However, most partial unwritten blocks that could be mapped with other blocks are being inefficiently processed separately as individual blocks. Except for partial unwritten blocks that require independent processing, let's handle them simply as before. Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com> Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions