aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLizhi Xu <[email protected]>2025-04-28 14:36:26 +0000
committerJens Axboe <[email protected]>2025-05-05 13:18:05 +0000
commitf5c84eff634ba003326aa034c414e2a9dcb7c6a7 (patch)
tree9f808b9e4344dff4bc0dd6fdcd6d4f13d2ac64d3 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentMerge tag 'nvme-6.15-2025-05-01' of git://git.infradead.org/nvme into block-6.15 (diff)
downloadkernel-f5c84eff634ba003326aa034c414e2a9dcb7c6a7.tar.gz
kernel-f5c84eff634ba003326aa034c414e2a9dcb7c6a7.zip
loop: Add sanity check for read/write_iter
Some file systems do not support read_iter/write_iter, such as selinuxfs in this issue. So before calling them, first confirm that the interface is supported and then call it. It is releavant in that vfs_iter_read/write have the check, and removal of their used caused szybot to be able to hit this issue. Fixes: f2fed441c69b ("loop: stop using vfs_iter__{read,write} for buffered I/O") Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=6af973a3b8dfd2faefdc Signed-off-by: Lizhi Xu <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions