diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2017-08-24 04:24:56 +0300 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-09-04 22:03:45 +0300 |
commit | 5517554e43131f542e5f95c94c5cd9a1bb989fab (patch) | |
tree | 3e3a16ce06f242c85cf194218227bf57412cbe87 /fs/cifs/xattr.c | |
parent | 95907fea4fd8ccc736e0a428e52159b4d42b9958 (diff) | |
download | linux-5517554e43131f542e5f95c94c5cd9a1bb989fab.tar.xz |
cifs: Add support for writing attributes on SMB2+
This adds support for writing extended attributes on SMB2+ shares.
Attributes can be written using the setfattr command.
RH-bz: 1110709
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/xattr.c')
-rw-r--r-- | fs/cifs/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/xattr.c b/fs/cifs/xattr.c index de50e749ff05..52f975d848a0 100644 --- a/fs/cifs/xattr.c +++ b/fs/cifs/xattr.c @@ -84,7 +84,7 @@ static int cifs_xattr_set(const struct xattr_handler *handler, if (pTcon->ses->server->ops->set_EA) rc = pTcon->ses->server->ops->set_EA(xid, pTcon, full_path, name, value, (__u16)size, - cifs_sb->local_nls, cifs_remap(cifs_sb)); + cifs_sb->local_nls, cifs_sb); break; case XATTR_CIFS_ACL: { |