unixuid: Use the tevent_context from the ntvfs_context
authorVolker Lendecke <vl@samba.org>
Sun, 2 Feb 2014 14:54:53 +0000 (15:54 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Mar 2014 15:33:21 +0000 (16:33 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Change-Id: I4edb0ee4cefdc2f1b309202c9ec70c7c7bbac0b8
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/ntvfs/unixuid/vfs_unixuid.c

index 3d5c438218c00195f45ea914f998b64172f98bc9..97a59591b7d625ba6ac7ca9b94b83b7169222912 100644 (file)
@@ -154,10 +154,8 @@ static NTSTATUS nt_token_to_unix_security(struct ntvfs_module_context *ntvfs,
                                          struct security_token *token,
                                          struct security_unix_token **sec)
 {
-       struct unixuid_private *priv = ntvfs->private_data;
-
        return security_token_to_unix_token(req,
-                                           priv->wbc_ctx->event_ctx,
+                                           ntvfs->ctx->event_ctx,
                                            token, sec);
 }