summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/unixuid
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-02-02 15:54:53 +0100
committerVolker Lendecke <vl@samba.org>2014-02-10 10:57:31 +0100
commit25e83a9b3e72cdb84c09ef8ada4784efd110f09a (patch)
tree425c3f246a6d3872e05d9f4f42457937724f1fd5 /source4/ntvfs/unixuid
parent15700a9f6e5393cecf78052f510e015300c5bd85 (diff)
downloadsamba-25e83a9b3e72cdb84c09ef8ada4784efd110f09a.tar.gz
samba-25e83a9b3e72cdb84c09ef8ada4784efd110f09a.tar.xz
samba-25e83a9b3e72cdb84c09ef8ada4784efd110f09a.zip
unixuid: Use the tevent_context from the ntvfs_context
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Kai Blin <kai@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);
}