Unverified Commit f6023535 authored by Chang Yu's avatar Chang Yu Committed by Christian Brauner
Browse files

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: default avatarChang Yu <marcus.yu.56@gmail.com>
Link: https://lore.kernel.org/r/ZvuXWC2bYpvQsWgS@gmail.com


Fixes: cd0277ed ("netfs: Use new folio_queue data type and iterator instead of xarray iter")
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Reported-by: default avatar <syzbot+921873345a95f4dae7e9@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=921873345a95f4dae7e9


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 0d24852b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment