ntfs3: initialize err in attr_wof_frame_info

attr_wof_frame_info() may reuse a cached offsets folio. In that case the
loop can fill the output offsets without calling attr_load_runs_range()
or ntfs_read_run(), leaving err uninitialized before the common return
path. Initialize err to 0 for the successful cached path.

Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Ruoyu Wang 2026-06-18 02:22:27 +08:00 • committed by Konstantin Komarov
commit dd64afb32c
No known key found for this signature in database
GPG key ID: A9B0331F832407B6