vfs_streams_xattr: add missing call to SMB_VFS_NEXT_CONNECT
authorRalph Boehme <slow@samba.org>
Thu, 11 Dec 2014 18:06:11 +0000 (19:06 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 12 Dec 2014 01:09:24 +0000 (02:09 +0100)
Signed-off-by: Ralph Boehme <slow@samba.org>
Rewviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec 12 02:09:24 CET 2014 on sn-devel-104

source3/modules/vfs_streams_xattr.c

index 5c5a9a17fa6947c9d53585b8f5912952390edde4..b3c1df15c399a98e1b2d36697460303619436d63 100644 (file)
@@ -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) {