[CIFS] Fix mapping of old SMB return code Invalid Net Name so it is
authorSteve French <sfrench@us.ibm.com>
Fri, 2 Jun 2006 18:17:11 +0000 (18:17 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 2 Jun 2006 18:17:11 +0000 (18:17 +0000)
commit43411d699e8cf3293674da558d31a02e0012aa9d
treed9fa33e4e37f25a46c17c5587009120d5ede8376
parent7a0d22317614ee8e2598feafd4812e33be17f421
[CIFS] Fix mapping of old SMB return code Invalid Net Name so it is
recognized on mount

the old mapping of this was to ENODEV (instead of ENXIO) - but
ENODEV is what mount returns when the cifs driver will not load
so change this to map to ENXIO (which was what the equivalent
condition returned for mapping errors from more modern servers)

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/netmisc.c