]> git.baikalelectronics.ru Git - kernel.git/commit
Add protocol specific operation for CIFS xattrs
authorSteve French <smfrench@gmail.com>
Sun, 2 Feb 2014 05:27:18 +0000 (23:27 -0600)
committerSteve French <smfrench@gmail.com>
Fri, 7 Feb 2014 17:08:15 +0000 (11:08 -0600)
commit3c6be53c4428ac2331ed02cd09446c2a38f4c237
tree31e601bff6aab26a5453ae30bd2c1bf0c2554e28
parentf4de03180f593e9e1ae36b568eeee6c09cc86ee7
Add protocol specific operation for CIFS xattrs

Changeset d84e09a4ebef225230ab9583d5172f35b7f7c19d added protocol
operations for get/setxattr to avoid calling cifs operations
on smb2/smb3 mounts for xattr operations and this changeset
adds the calls to cifs specific protocol operations for xattrs
(in order to reenable cifs support for xattrs which was
temporarily disabled by the previous changeset.  We do not
have SMB2/SMB3 worker function for setting xattrs yet so
this only enables it for cifs.

CCing stable since without these two small changsets (its
small coreq d84e09a4ebef225230ab9583d5172f35b7f7c19d is
also needed) calling getfattr/setfattr on smb2/smb3 mounts
causes problems.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com>
CC: Stable <stable@kernel.org>
fs/cifs/inode.c
fs/cifs/smb1ops.c