diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-07-26 10:29:57 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 08:40:40 -0400 |
commit | 3572d2857f61f720082740cc17e2d99b45e7af7f (patch) | |
tree | 9005ee297315f68a12d2b1c749a233300fb9807e /fs/cifs/smberr.h | |
parent | f30b9c11847cb6bf1f7aa65b5c436800621a07dd (diff) |
cifs: map NT_STATUS_ERROR_WRITE_PROTECTED to -EROFS
Seems like a more sensible mapping than -EIO.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/smberr.h')
-rw-r--r-- | fs/cifs/smberr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smberr.h b/fs/cifs/smberr.h index c5084d27db7c..7f16cb825fe5 100644 --- a/fs/cifs/smberr.h +++ b/fs/cifs/smberr.h | |||
@@ -76,6 +76,7 @@ | |||
76 | #define ERRnofiles 18 /* A File Search command can find no | 76 | #define ERRnofiles 18 /* A File Search command can find no |
77 | more files matching the specified | 77 | more files matching the specified |
78 | criteria. */ | 78 | criteria. */ |
79 | #define ERRwriteprot 19 /* media is write protected */ | ||
79 | #define ERRgeneral 31 | 80 | #define ERRgeneral 31 |
80 | #define ERRbadshare 32 /* The sharing mode specified for an | 81 | #define ERRbadshare 32 /* The sharing mode specified for an |
81 | Open conflicts with existing FIDs on | 82 | Open conflicts with existing FIDs on |