Initialize the event prefix to zeroes so that we don't read bogus stack
data if the filesystem doesn't support parent pointers. Found by Codex.
Cc: linux-xfs@vger.kernel.org # v7.0.0
Fixes: 17d840245c0e20 ("xfs_healer: use getparents to look up file names")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
{0, 0},
};
#undef X
- struct hme_prefix new_pfx;
+ struct hme_prefix new_pfx = { };
const struct hme_prefix *pfx = orig_pfx;
const struct u32_scrub *f;