commit | 21496687a79424572f46a84c690d331055f4866f | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Fri Jul 18 18:25:52 2014 +0400 |
committer | Steve French <smfrench@gmail.com> | Sat Aug 02 01:23:04 2014 -0500 |
tree | 12eb6f5957805c3997590055d43f537910a1acd4 | |
parent | b770ddfa26fcb22ac85fbcdd0f5e88e65a118e01 [diff] |
CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2 The existing mapping causes unlink() call to return error after delete operation. Changing the mapping to -EACCES makes the client process the call like CIFS protocol does - reset dos attributes with ATTR_READONLY flag masked off and retry the operation. Cc: stable@vger.kernel.org Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>