cifs: map NT_STATUS_ERROR_WRITE_PROTECTED to -EROFS
authorJeff Layton <jlayton@redhat.com>
Mon, 26 Jul 2010 14:29:57 +0000 (10:29 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:40 +0000 (12:40 +0000)
commit3572d2857f61f720082740cc17e2d99b45e7af7f
tree9005ee297315f68a12d2b1c749a233300fb9807e
parentf30b9c11847cb6bf1f7aa65b5c436800621a07dd
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>
fs/cifs/netmisc.c
fs/cifs/smberr.h