aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-07-18 18:25:52 +0400
committerSteve French <smfrench@gmail.com>2014-08-02 01:23:04 -0500
commit21496687a79424572f46a84c690d331055f4866f (patch)
tree12eb6f5957805c3997590055d43f537910a1acd4 /fs/cifs/cifsfs.h
parentCIFS: Optimize readpages in a short read case on reconnects (diff)
downloadlinux-dev-21496687a79424572f46a84c690d331055f4866f.tar.xz
linux-dev-21496687a79424572f46a84c690d331055f4866f.zip
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 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions