]> Pileus Git - ~andy/linux/blobdiff - fs/cifs/netmisc.c
Merge branch 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm
[~andy/linux] / fs / cifs / netmisc.c
index 5de74d216fdd75533f23e89ef465823ea63d5ffc..b66eff5dc62445b1e4478811e26ddccaea2a0c85 100644 (file)
@@ -84,11 +84,11 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = {
 
 static const struct smb_to_posix_error mapping_table_ERRSRV[] = {
        {ERRerror, -EIO},
-       {ERRbadpw, -EPERM},
+       {ERRbadpw, -EACCES},  /* was EPERM */
        {ERRbadtype, -EREMOTE},
        {ERRaccess, -EACCES},
        {ERRinvtid, -ENXIO},
-       {ERRinvnetname, -ENODEV},
+       {ERRinvnetname, -ENXIO},
        {ERRinvdevice, -ENXIO},
        {ERRqfull, -ENOSPC},
        {ERRqtoobig, -ENOSPC},