mount.cifs: have uppercase_string return success on NULL pointer
commit3d8dcd1d5bcacf5512f39a19535c06a01aae798e
authorJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:46:40 +0000 (9 10:46 -0400)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:06:25 +0000 (15 18:06 +0200)
tree87de1283c996771173a7fd0860e4ca7f8400fedd
parent3fbab3358811648ae08f7a5eb86ca56f6b90551f
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 1c9f269280983119c7c906bbc2bf1ccaaba8c740)
source/client/mount.cifs.c