linux-stable/fs/cifs
Pavel Shilovsky 21496687a7 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>
2014-08-02 01:23:04 -05:00
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_spnego.c
cifs_spnego.h
cifs_unicode.c [CIFS] fix mount failure with broken pathnames when smb3 mount with mapchars option 2014-06-24 08:10:24 -05:00
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: revalidate mapping prior to satisfying read_iter request with cache=loose 2014-06-19 13:34:04 -05:00
cifsfs.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2014-06-12 10:30:18 -07:00
cifsglob.h CIFS: Use separate var for the number of bytes got in async read 2014-08-02 01:23:04 -05:00
cifspdu.h
cifsproto.h CIFS: Use multicredits for SMB 2.1/3 writes 2014-08-02 01:23:03 -05:00
cifssmb.c CIFS: Optimize cifs_user_read() in a short read case on reconnects 2014-08-02 01:23:04 -05:00
connect.c CIFS: Indicate reconnect with ECONNABORTED error code 2014-08-02 01:23:03 -05:00
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c CIFS: Optimize readpages in a short read case on reconnects 2014-08-02 01:23:04 -05:00
fscache.c
fscache.h
inode.c Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 2014-06-09 19:08:43 -07:00
ioctl.c fs: cifs: new helper: file_inode(file) 2014-05-21 10:18:05 -07:00
Kconfig
link.c fs/cifs: fix regression in cifs_create_mf_symlink() 2014-06-16 13:50:11 -05:00
Makefile
misc.c cifs: replace code with free_rsp_buf() 2014-07-31 23:11:15 -05:00
netmisc.c fs/cifs/netmisc.c: convert printk to pr_foo() 2014-05-21 10:18:05 -07:00
nterr.c
nterr.h
ntlmssp.h
readdir.c
rfc1002pdu.h
sess.c Remove sparse build warning 2014-08-02 01:23:01 -05:00
smb1ops.c CIFS: Use multicredits for SMB 2.1/3 writes 2014-08-02 01:23:03 -05:00
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2 2014-08-02 01:23:04 -05:00
smb2misc.c cifs: Wait for writebacks to complete before attempting write. 2014-04-16 13:51:46 -05:00
smb2ops.c CIFS: Use multicredits for SMB 2.1/3 reads 2014-08-02 01:23:03 -05:00
smb2pdu.c CIFS: Optimize cifs_user_read() in a short read case on reconnects 2014-08-02 01:23:04 -05:00
smb2pdu.h Clarify SMB2/SMB3 create context and add missing ones 2014-05-21 10:18:06 -07:00
smb2proto.h
smb2status.h
smb2transport.c CIFS: Use multicredits for SMB 2.1/3 writes 2014-08-02 01:23:03 -05:00
smbencrypt.c
smberr.h
smbfsctl.h
transport.c CIFS: Use multicredits for SMB 2.1/3 writes 2014-08-02 01:23:03 -05:00
winucase.c
xattr.c