summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-07-18 18:25:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-17 09:19:26 -0700
commit2b0111626d2bcb29a25c16a47021b4d440103e84 (patch)
tree2b96887666afaeb70d7e81729f868a1277ae37ad /lib/mpi/mpi-bit.c
parent9956752afa398ea6e0c9c69b258be6afd73da4b1 (diff)
CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2
commit 21496687a79424572f46a84c690d331055f4866f upstream. 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. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions