]> git.ipfire.org Git - thirdparty/linux.git/commit
smb: client: simplify cifs_fscache_get_super_cookie()
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 27 Jul 2026 17:20:35 +0000 (20:20 +0300)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jul 2026 23:12:16 +0000 (18:12 -0500)
commitb476724a6d9b2e7db43cb7a59defd396f94cf77c
treecf805ace19955d2685bc4131c3bcf0148acb480e
parent9388e7c820e33d3a7dfde9a9c16ad4ac60f29d37
smb: client: simplify cifs_fscache_get_super_cookie()

Avoid redundant 'strlen()' and use the convenient 'strreplace()'
to simplify 'cifs_fscache_get_super_cookie()'.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/fscache.c