diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2014-07-18 18:25:52 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 01:23:04 -0500 |
commit | 21496687a79424572f46a84c690d331055f4866f (patch) | |
tree | 12eb6f5957805c3997590055d43f537910a1acd4 /drivers | |
parent | b770ddfa26fcb22ac85fbcdd0f5e88e65a118e01 (diff) | |
download | linux-21496687a79424572f46a84c690d331055f4866f.tar.bz2 |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions