diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-19 16:31:59 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-19 18:51:37 +0200 |
commit | 49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e (patch) | |
tree | 0e0aff5a6f9e86f301257739e9f8019e241f977d /source3/smbd/trans2.c | |
parent | 769646efc6d334976e75cf6476acfe1089e986dd (diff) | |
download | samba-49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e.tar.gz samba-49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e.tar.bz2 samba-49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e.zip |
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)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |