]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: handle "guest" mount parameter
authorSteve French <stfrench@microsoft.com>
Wed, 16 Dec 2020 22:26:35 +0000 (16:26 -0600)
committerSteve French <stfrench@microsoft.com>
Wed, 16 Dec 2020 23:02:34 +0000 (17:02 -0600)
commitad1f27c8e6fa1164d063f8f8f3b4070eaf84ff3a
treef17ee72e5f51a1627eaeac22b5a0cfda14b72a1a
parent08c63e08de782f776cc03c557b796572f9924a6f
cifs: handle "guest" mount parameter

With the new mount API it can not handle empty strings for
mount parms ("guest" is mapped in userspace mount helper to
"user=") so we have to special case it as we do for the
password mount parm.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/fs_context.c