summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-19 16:31:59 +0200
committerVolker Lendecke <vl@samba.org>2008-06-19 18:51:37 +0200
commite40b6e296a91f87e0a238323fe1dbf76149487e0 (patch)
tree6d7254bab73b1628e4edc507aa3c56ff09760696 /source3/smbd/nttrans.c
parent49ca8efa9199ba21e3a41cbe4abbea1ca4974d0e (diff)
downloadsamba-e40b6e296a91f87e0a238323fe1dbf76149487e0.tar.gz
samba-e40b6e296a91f87e0a238323fe1dbf76149487e0.tar.bz2
samba-e40b6e296a91f87e0a238323fe1dbf76149487e0.zip
Remove the "current_user" arg from fsp_belongs_conn
fsp_belongs_conn only used the vuid struct member anyway, and this is available in the smb_request structure as well. (This used to be commit 64e9372ab997739d46669c0cc4a4c6edb11d5e64)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 61562b2de2..8e55d6b8e9 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1773,7 +1773,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
DEBUG(10,("FSCTL_CREATE_OR_GET_OBJECT_ID: called on FID[0x%04X]\n",fidnum));
- if (!fsp_belongs_conn(conn, req, fsp, &current_user)) {
+ if (!fsp_belongs_conn(conn, req, fsp)) {
return;
}
@@ -1828,7 +1828,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
uint32 i;
char *cur_pdata;
- if (!fsp_belongs_conn(conn, req, fsp, &current_user)) {
+ if (!fsp_belongs_conn(conn, req, fsp)) {
return;
}
@@ -1951,7 +1951,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
DEBUG(10,("FSCTL_FIND_FILES_BY_SID: called on FID[0x%04X]\n",fidnum));
- if (!fsp_belongs_conn(conn, req, fsp, &current_user)) {
+ if (!fsp_belongs_conn(conn, req, fsp)) {
return;
}