mount.cifs: have uppercase_string return success on NULL pointer
authorJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:47:45 +0000 (10:47 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 14:47:45 +0000 (10:47 -0400)
commit41849ee120297b845ef288c76b45d039ad04112d
tree197240b96c08ee3393e05db1481af26568727001
parentcfa9d20db78875969ea8065161f8efdf5281d003
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