mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
s->dict.allocated was initialized to 0 but never set after a successful allocation, thus the code always thought that the dictionary buffer has to be reallocated. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Lasse Collin <[email protected]> Reported-by: Yu Sun <[email protected]> Acked-by: Daniel Walker <[email protected]> Cc: "Yixia Si (yisi)" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>