mount.cifs: have uppercase_string return success on NULL pointer
authorJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 13:58:39 +0000 (09:58 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 9 Oct 2008 13:58:39 +0000 (09:58 -0400)
commitdd9002cf498e177b769eabd2fed40213069cd239
tree582e581714222c8a235c8666c60f291ec856a215
parenteb78e5c46f2ceb1de9cdd459f024d0632ef90893
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>
source3/client/mount.cifs.c