diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-04-11 00:18:30 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-04-18 11:33:19 +0900 |
| commit | dacc18029ef69ed225fdb4d7c3215c285e9e8ef4 (patch) | |
| tree | ecb416b8706fcb8f9368018a8783cf1af46fa320 /include/linux/timerqueue.h | |
| parent | 32ba4750dfc6f4139b90fefe59ce8866b2eab56d (diff) | |
ntfs: fix uninitialized variable in ntfs_map_runlist_nolock
Smatch reported that ctx_needs_reset could be used uninitialized if
ntfs_map_runlist_nolock() fails early when a search context is provided.
Specifically, if the function returns -EIO because the attribute is
resident, the code jumps to err_out. This initializes ctx_needs_reset to
false to satisfy the static checker.
Reported-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
