mount.cifs: on 2nd try mount.cifs must also uppercase "orig_dev"
authorGuenter Kukkukk <kukks@samba.org>
Tue, 1 Jul 2014 15:43:55 +0000 (17:43 +0200)
committerJeff Layton <jlayton@samba.org>
Tue, 1 Jul 2014 17:49:54 +0000 (13:49 -0400)
commit43fd65ba0fca85a86a79e84bb2bc42b531d858e6
tree1a656a8a7fec6a9e76bd8718f71d9fca1b060a24
parent382ec63757c1d8d4d399d17ccc927c4897d4cfc9
mount.cifs: on 2nd try mount.cifs must also uppercase "orig_dev"

Recent kernels now ignore "unc=..." mount option. mount.cifs, when
getting errno=ENXIO, retries the mount with uppercased hostname,
sharename and prefixpath in the "unc=..." mount option, which is ignored
now in the kernel. Used e.g. during OS/2 mounts, which fail now.

Also uppercase the now used "orig_dev" parameter.

Signed-off-by: Guenter Kukkukk <kukks@samba.org>
mount.cifs.c