mount.cifs: have uppercase_string return success on NULL pointer
commit1bd6efe1ad0dba7014905612d33be024c07a264c
authorJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:42:28 +0000 (9 10:42 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 10:22:16 +0000 (9 11:22 +0100)
treeef7afa49cbe50dc0cc8a680667fcbb6bc2e03661
parent43f509d2950d2198fb59437f8eb9fd06003b6e47
mount.cifs: have uppercase_string return success on NULL pointer

We currently don't attempt to uppercase the device portion of the mount
string if there isn't a prefixpath. Fix that by making uppercase_string
return success without doing anything on a NULL pointer.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 34b5cfe8a0cb8674da0c5ac7d81b6e64160ccaa2)
(cherry picked from commit 3f4cdabc965f824b70891f6a6bcb29e5f9b579e5)
source/client/mount.cifs.c