aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/netmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/netmisc.c')
-rw-r--r--fs/cifs/netmisc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c
index 5de74d216fdd..ce87550e918f 100644
--- a/fs/cifs/netmisc.c
+++ b/fs/cifs/netmisc.c
@@ -72,6 +72,7 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = {
72 {ERRinvlevel,-EOPNOTSUPP}, 72 {ERRinvlevel,-EOPNOTSUPP},
73 {ERRdirnotempty, -ENOTEMPTY}, 73 {ERRdirnotempty, -ENOTEMPTY},
74 {ERRnotlocked, -ENOLCK}, 74 {ERRnotlocked, -ENOLCK},
75 {ERRcancelviolation, -ENOLCK},
75 {ERRalreadyexists, -EEXIST}, 76 {ERRalreadyexists, -EEXIST},
76 {ERRmoredata, -EOVERFLOW}, 77 {ERRmoredata, -EOVERFLOW},
77 {ERReasnotsupported,-EOPNOTSUPP}, 78 {ERReasnotsupported,-EOPNOTSUPP},
@@ -84,11 +85,11 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = {
84 85
85static const struct smb_to_posix_error mapping_table_ERRSRV[] = { 86static const struct smb_to_posix_error mapping_table_ERRSRV[] = {
86 {ERRerror, -EIO}, 87 {ERRerror, -EIO},
87 {ERRbadpw, -EPERM}, 88 {ERRbadpw, -EACCES}, /* was EPERM */
88 {ERRbadtype, -EREMOTE}, 89 {ERRbadtype, -EREMOTE},
89 {ERRaccess, -EACCES}, 90 {ERRaccess, -EACCES},
90 {ERRinvtid, -ENXIO}, 91 {ERRinvtid, -ENXIO},
91 {ERRinvnetname, -ENODEV}, 92 {ERRinvnetname, -ENXIO},
92 {ERRinvdevice, -ENXIO}, 93 {ERRinvdevice, -ENXIO},
93 {ERRqfull, -ENOSPC}, 94 {ERRqfull, -ENOSPC},
94 {ERRqtoobig, -ENOSPC}, 95 {ERRqtoobig, -ENOSPC},