summaryrefslogtreecommitdiff
path: root/include/linux/kasan.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-11-09 15:57:17 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2021-11-10 20:22:37 +0300
commit554c577cee95bdc1d03d9f457e57dc96eb791845 (patch)
treef1398c44f51ab046d63f0ba2b7a5459203a693ff /include/linux/kasan.h
parenta7ac203d8fd366bb6318f856466f52484c623d05 (diff)
downloadlinux-554c577cee95bdc1d03d9f457e57dc96eb791845.tar.xz
gfs2: Prevent endless loops in gfs2_file_buffered_write
Currently, instead of performing a short write, iomap_file_buffered_write will fail when part of its iov iterator cannot be read. In contrast, gfs2_file_buffered_write will loop around if it can read part of the iov iterator, so we can end up in an endless loop. This should be fixed in iomap_file_buffered_write (and also generic_perform_write), but this comes a bit late in the 5.16 development cycle, so work around it in the filesystem by trimming the iov iterator to the known-good size for now. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'include/linux/kasan.h')
0 files changed, 0 insertions, 0 deletions