[PATCH] missing call to SMB_VFS_NEXT_CONNECT in vfs_streams_xattr

Ralph Böhme rb at sernet.de
Thu Dec 11 11:04:27 MST 2014


Hi,

please review and push if ok.

Thanks!
-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
-------------- next part --------------
From a91d27865f720a30d33a140375e2379351a0c936 Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Thu, 11 Dec 2014 19:06:11 +0100
Subject: [PATCH] vfs_streams_xattr: add missing call to SMB_VFS_NEXT_CONNECT

Signed-off-by: Ralph Boehme <slow at samba.org>
---
 source3/modules/vfs_streams_xattr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c
index 5c5a9a1..b3c1df1 100644
--- a/source3/modules/vfs_streams_xattr.c
+++ b/source3/modules/vfs_streams_xattr.c
@@ -879,6 +879,12 @@ static int streams_xattr_connect(vfs_handle_struct *handle,
 	struct streams_xattr_config *config;
 	const char *default_prefix = SAMBA_XATTR_DOSSTREAM_PREFIX;
 	const char *prefix;
+	int rc;
+
+	rc = SMB_VFS_NEXT_CONNECT(handle, service, user);
+	if (rc != 0) {
+		return rc;
+	}
 
 	config = talloc_zero(handle->conn, struct streams_xattr_config);
 	if (config == NULL) {
-- 
1.9.3



More information about the samba-technical mailing list