Re: [PATCH] shmem: fix unicode_map leak with repeated casefold= option
From: Mohammed EL Kadiri
Date: Tue Sep 29 2026 - 16:59:40 EST
On Tue, 29 Sep 2026, Gabriel Krisman Bertazi wrote:
> IMO, nack, this is not the right fix. There is no point in accepting
> multiple casefold parameters and we shouldn't allow it. If
> ctx->encoding is already set, we should -EINVAL and fail the mount.
Makes sense. This one is dropped, since Kazuki's patch in
mm-nonmm-unstable already covers the leak with the same unload
approach [1]. Adding Kazuki so he can adjust it if needed. I'm happy
to test a new version.
[1] https://lore.kernel.org/20260827152516.805622-1-hnkz.64@xxxxxxxxx
Thanks,
Mohammed