diff options
author | Steve French <sfrench@us.ibm.com> | 2006-06-02 18:17:11 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-06-02 18:17:11 +0000 |
commit | 43411d699e8cf3293674da558d31a02e0012aa9d (patch) | |
tree | d9fa33e4e37f25a46c17c5587009120d5ede8376 /fs | |
parent | 7a0d22317614ee8e2598feafd4812e33be17f421 (diff) | |
download | linux-3.10-43411d699e8cf3293674da558d31a02e0012aa9d.tar.gz linux-3.10-43411d699e8cf3293674da558d31a02e0012aa9d.tar.bz2 linux-3.10-43411d699e8cf3293674da558d31a02e0012aa9d.zip |
[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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/netmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c index a0bcdd6f4a6..b66eff5dc62 100644 --- a/fs/cifs/netmisc.c +++ b/fs/cifs/netmisc.c @@ -88,7 +88,7 @@ static const struct smb_to_posix_error mapping_table_ERRSRV[] = { {ERRbadtype, -EREMOTE}, {ERRaccess, -EACCES}, {ERRinvtid, -ENXIO}, - {ERRinvnetname, -ENODEV}, + {ERRinvnetname, -ENXIO}, {ERRinvdevice, -ENXIO}, {ERRqfull, -ENOSPC}, {ERRqtoobig, -ENOSPC}, |