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)
committerVolker Lendecke <vl@samba.org>
Mon, 10 Feb 2014 09:57:31 +0000 (10:57 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Kai Blin <kai@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);
 }