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)
commit31f6551ad75608d9c71fd4d3548c33f1abc52093
treef17ee72e5f51a1627eaeac22b5a0cfda14b72a1a
parent27cf94853e6d2b5c981ed4d9f798912027352584
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