]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Fix SMB2 mounts so they don't try to set or get xattrs via cifs
authorSteve French <smfrench@gmail.com>
Mon, 27 Jan 2014 05:53:43 +0000 (23:53 -0600)
committerSteve French <smfrench@gmail.com>
Mon, 27 Jan 2014 05:53:43 +0000 (23:53 -0600)
commitd84e09a4ebef225230ab9583d5172f35b7f7c19d
tree266c25b12cb879efe96cd1351ee13fb8aca041a9
parent25985a5b41d0ac8991f80ae462d85e51ce97c320
[CIFS] Fix SMB2 mounts so they don't try to set or get xattrs via cifs

When mounting with smb2 (or smb2.1 or smb3) we need to check to make
sure that attempts to query or set extended attributes do not
attempt to send the request with the older cifs protocol instead
(eventually we also need to add the support in SMB2
to query/set extended attributes but this patch prevents us from
using the wrong protocol for extended attribute operations).

Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/xattr.c