summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-13 15:17:31 +0200
committerVolker Lendecke <vl@samba.org>2010-06-13 15:20:58 +0200
commitc7f44801e3e55a37cfc467de8d9ac127cd89327e (patch)
tree56a1dc67cf2537f27734868e815c8cda668ed40f /source3/smbd/nttrans.c
parentb90eb7dd6920dccd7a814ce77eec886e3a6ca8f0 (diff)
downloadsamba-c7f44801e3e55a37cfc467de8d9ac127cd89327e.tar.gz
s3: Remove fsp_belongs_conn
check_open_fsp does exactly the same
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index c5b5fee6d15..839d1b35a58 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -2051,7 +2051,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)) {
+ if (!check_fsp_open(conn, req, fsp)) {
return;
}
@@ -2108,7 +2108,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
uint32 i;
char *cur_pdata;
- if (!fsp_belongs_conn(conn, req, fsp)) {
+ if (!check_fsp_open(conn, req, fsp)) {
return;
}
@@ -2231,7 +2231,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)) {
+ if (!check_fsp_open(conn, req, fsp)) {
return;
}
@@ -2281,7 +2281,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
NTSTATUS status;
uint64_t offset, length;
- if (!fsp_belongs_conn(conn, req, fsp)) {
+ if (!check_fsp_open(conn, req, fsp)) {
return;
}