summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index cf8b49ebb8..f6a0015f1d 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -243,9 +243,9 @@ static NTSTATUS ipc_open_generic(struct smbsrv_request *req, const char *fname,
/* tell the RPC layer the session_info */
if (req->user_ctx->vuser) {
- /*
- * TODO: we need to reference count the entire session_info
- */
+ /* The session info is refcount-increased in the
+ dcesrv_endpoint_search_connect() function */
+
session_info = req->user_ctx->vuser->session_info;
}