]> 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)
commitb3bc7932d8d2ee2204b01ba02eb7bd0da65d05b9
tree31e601bff6aab26a5453ae30bd2c1bf0c2554e28
parent0dee887bdbe8d8c19d739da452310c1227ea0269
Add protocol specific operation for CIFS xattrs

Changeset a655de81fa0e83778d242b9f1d9f6f4316fce03f 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 a655de81fa0e83778d242b9f1d9f6f4316fce03f 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