Winston Wen 952af5cfd5 fs/nls: make load_nls() take a const parameter
[ Upstream commit c1ed39ec116272935528ca9b348b8ee79b0791da ]

load_nls() take a char * parameter, use it to find nls module in list or
construct the module name to load it.

This change make load_nls() take a const parameter, so we don't need do
some cast like this:

        ses->local_nls = load_nls((char *)ctx->local_nls->charset);

Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Winston Wen <wentao@uniontech.com>
Reviewed-by: Paulo Alcantara <pc@manguebit.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:22 +02:00
..
2023-08-11 12:08:24 +02:00
2022-09-24 07:00:00 +02:00
2023-08-30 16:11:10 +02:00
2023-08-30 16:11:10 +02:00
2023-07-19 16:21:03 +02:00
2023-07-27 08:50:32 +02:00
2023-05-11 23:03:05 +09:00
2022-09-11 20:26:07 -07:00
2023-02-22 12:59:46 +01:00
2023-08-30 16:11:10 +02:00
2022-09-24 07:00:00 +02:00
2022-10-10 19:45:17 -07:00
2023-08-30 16:11:10 +02:00
2022-10-10 14:21:11 -07:00
2023-07-19 16:22:15 +02:00
2023-01-04 11:29:01 +01:00