commit | c4dd920b8a8900046e0785e55a43c7190b82c59a | [log] [tgz] |
---|---|---|
author | Andrey Albershteyn <aalbersh@redhat.com> | Tue Apr 23 14:36:16 2024 +0200 |
committer | Carlos Maiolino <cem@kernel.org> | Tue Apr 23 15:02:58 2024 +0200 |
tree | cd77f7d1196e3ca6b56f9dcb06a897dea740f938 | |
parent | fcac184ccf342a345ea8fe4d842415841af89e64 [diff] |
xfs_scrub: don't call phase_end if phase_rusage was not initialized If unicrash_load() fails, all_pi can be used uninitialized in phase_end(). Fix it by going to the unload: section if unicrash_load fails and just go with unicrash_unload() (the is_service won't be initialized here). Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrey Albershteyn <aalbersh@redhat.com>