]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: get rid of kstrdup() when parsing iocharset mount option
authorPaulo Alcantara <pc@manguebit.org>
Sat, 26 Jul 2025 16:47:51 +0000 (13:47 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 28 Jul 2025 14:42:53 +0000 (09:42 -0500)
commit28f09823de9292c6f91171f0627bd0b360b78a75
tree15ee3e3bd897f34b911d19eb3a4f8bc192ae8f81
parent60c9511253d508bbc9df8d988f38ce2a633ead86
smb: client: get rid of kstrdup() when parsing iocharset mount option

Steal string reference from @param->string rather than duplicating it.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/fs_context.c