summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/unixuid
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-02-02 15:54:53 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-03-05 16:33:21 +0100
commit0aa080b0f7c4950d29187c2f531e1018d545d007 (patch)
treed4a942f35b79b13b9dad923212e45f898ced3aa0 /source4/ntvfs/unixuid
parentd0dc6dbb2b24f70a0ceb9595054ecaf12852c5d5 (diff)
downloadsamba-0aa080b0f7c4950d29187c2f531e1018d545d007.tar.gz
samba-0aa080b0f7c4950d29187c2f531e1018d545d007.tar.xz
samba-0aa080b0f7c4950d29187c2f531e1018d545d007.zip
unixuid: Use the tevent_context from the ntvfs_context
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>
Diffstat (limited to 'source4/ntvfs/unixuid')
-rw-r--r--source4/ntvfs/unixuid/vfs_unixuid.c4
1 files changed, 1 insertions, 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);
}