This just makes the diff of the next commit smaller and easier to digest.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15126
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2643
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
return ret;
}
+/*
+ * Destructor for the VFS private data
+ */
+
+static void close_xattr_db(void **data)
+{
+ struct db_context **p_db = (struct db_context **)data;
+ TALLOC_FREE(*p_db);
+}
+
/*
* Open the tdb file upon VFS_CONNECT
*/
return ret;
}
-/*
- * Destructor for the VFS private data
- */
-
-static void close_xattr_db(void **data)
-{
- struct db_context **p_db = (struct db_context **)data;
- TALLOC_FREE(*p_db);
-}
-
static int xattr_tdb_connect(vfs_handle_struct *handle, const char *service,
const char *user)
{