aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-08-09 21:03:55 -0400
committerSteve French <stfrench@microsoft.com>2018-08-10 12:53:32 -0400
commitc1777df1a5d541cda918ff0450c8adcc8b69c2fd (patch)
tree38a8ebea2d8cf9e6f10bbeb19b276fcf0457ab36
parente02789a53d71334b067ad72eee5d4e88a0158083 (diff)
cifs: add missing support for ACLs in SMB 3.11
We were missing the methods for get_acl and friends for the 3.11 dialect. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> CC: Stable <stable@vger.kernel.org> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
-rw-r--r--fs/cifs/smb2ops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 7869ea4f6fab..541258447c4c 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -3586,6 +3586,11 @@ struct smb_version_operations smb311_operations = {
3586 .query_all_EAs = smb2_query_eas, 3586 .query_all_EAs = smb2_query_eas,
3587 .set_EA = smb2_set_ea, 3587 .set_EA = smb2_set_ea,
3588#endif /* CIFS_XATTR */ 3588#endif /* CIFS_XATTR */
3589#ifdef CONFIG_CIFS_ACL
3590 .get_acl = get_smb2_acl,
3591 .get_acl_by_fid = get_smb2_acl_by_fid,
3592 .set_acl = set_smb2_acl,
3593#endif /* CIFS_ACL */
3589 .next_header = smb2_next_header, 3594 .next_header = smb2_next_header,
3590}; 3595};
3591 3596