From 0aa080b0f7c4950d29187c2f531e1018d545d007 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Feb 2014 15:54:53 +0100 Subject: [PATCH] unixuid: Use the tevent_context from the ntvfs_context Signed-off-by: Volker Lendecke Change-Id: I4edb0ee4cefdc2f1b309202c9ec70c7c7bbac0b8 Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- source4/ntvfs/unixuid/vfs_unixuid.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source4/ntvfs/unixuid/vfs_unixuid.c b/source4/ntvfs/unixuid/vfs_unixuid.c index 3d5c438218c..97a59591b7d 100644 --- a/source4/ntvfs/unixuid/vfs_unixuid.c +++ b/source4/ntvfs/unixuid/vfs_unixuid.c @@ -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); }