mount.cifs: have uppercase_string return success on NULL pointer
commit1c9f269280983119c7c906bbc2bf1ccaaba8c740
authorJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:46:40 +0000 (9 10:46 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:46:40 +0000 (9 10:46 -0400)
tree646cc401c9eecf6f9fb7172ecc2f60c61a975e2f
parentf953fd62f7e4d4d18eb4d713989eacce630c4949
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>
source/client/mount.cifs.c