From 49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 19 Jun 2008 16:31:59 +0200 Subject: Remove the "current_user" arg from check_fsp check_fsp only used the vuid struct member anyway, and this is available in the smb_request structure as well. (This used to be commit 8d364c4c3311b406847158fc37e9208d298cf8ba) --- source3/smbd/trans2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/trans2.c') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 72688bbd66..3a59be115e 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3871,7 +3871,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, } /* Initial check for valid fsp ptr. */ - if (!check_fsp_open(conn, req, fsp, ¤t_user)) { + if (!check_fsp_open(conn, req, fsp)) { return; } @@ -3914,7 +3914,7 @@ static void call_trans2qfilepathinfo(connection_struct *conn, /* * Original code - this is an open file. */ - if (!check_fsp(conn, req, fsp, ¤t_user)) { + if (!check_fsp(conn, req, fsp)) { return; } @@ -6568,7 +6568,7 @@ static void call_trans2setfilepathinfo(connection_struct *conn, fsp = file_fsp(SVAL(params,0)); /* Basic check for non-null fsp. */ - if (!check_fsp_open(conn, req, fsp, ¤t_user)) { + if (!check_fsp_open(conn, req, fsp)) { return; } info_level = SVAL(params,2); @@ -6621,7 +6621,7 @@ static void call_trans2setfilepathinfo(connection_struct *conn, /* * Original code - this is an open file. */ - if (!check_fsp(conn, req, fsp, ¤t_user)) { + if (!check_fsp(conn, req, fsp)) { return; } -- cgit