From: Pavel Shilovsky Date: Fri, 18 Jul 2014 14:25:52 +0000 (+0400) Subject: CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2 X-Git-Tag: cleanup-for-v3.18~61^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21496687a79424572f46a84c690d331055f4866f;p=pandora-kernel.git 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 Signed-off-by: Steve French --- Reading git-diff-tree failed