]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: get rid of kstrdup() when parsing pass mount option
authorPaulo Alcantara <pc@manguebit.org>
Sat, 26 Jul 2025 16:38:52 +0000 (13:38 -0300)
committerSteve French <stfrench@microsoft.com>
Mon, 28 Jul 2025 14:40:36 +0000 (09:40 -0500)
commit524fa5bcc384491140323f12bf12b6e3e0f5b84d
treea4a016641d35fd82c97528996899d0954ef6a78b
parente5acab35feffb6f1b7f4ee0d146666a241024804
smb: client: get rid of kstrdup() when parsing pass 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