]> Git Repo - linux.git/commit
netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer
authorChang Yu <[email protected]>
Tue, 1 Oct 2024 06:31:52 +0000 (23:31 -0700)
committerChristian Brauner <[email protected]>
Tue, 1 Oct 2024 14:02:42 +0000 (16:02 +0200)
commitf6023535b52f5a066fa52fcfd0dc51c7f7894ce6
treec62289d0ef5eeacd51457314f28d0ffaf598e508
parent0d24852bd71ec85ca0016b6d6fc997e6a3381552
netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer

Use folioq_count instead of folioq_nr_slots to fix a KMSAN uninit-value
error in netfs_clear_buffer

Signed-off-by: Chang Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: cd0277ed0c18 ("netfs: Use new folio_queue data type and iterator instead of xarray iter")
Acked-by: David Howells <[email protected]>
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=921873345a95f4dae7e9
Signed-off-by: Christian Brauner <[email protected]>
fs/netfs/misc.c
This page took 0.051518 seconds and 4 git commands to generate.