summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.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/reply.c
parentb90eb7dd6920dccd7a814ce77eec886e3a6ca8f0 (diff)
downloadsamba-c7f44801e3e55a37cfc467de8d9ac127cd89327e.tar.gz
samba-c7f44801e3e55a37cfc467de8d9ac127cd89327e.tar.bz2
samba-c7f44801e3e55a37cfc467de8d9ac127cd89327e.zip
s3: Remove fsp_belongs_conn
check_open_fsp does exactly the same
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 4d33652a87..19c9870ac0 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -386,22 +386,6 @@ bool check_fsp_ntquota_handle(connection_struct *conn, struct smb_request *req,
return true;
}
-/****************************************************************************
- Check if we have a correct fsp. Replacement for the FSP_BELONGS_CONN macro
-****************************************************************************/
-
-bool fsp_belongs_conn(connection_struct *conn, struct smb_request *req,
- files_struct *fsp)
-{
- if ((fsp) && (conn) && ((conn)==(fsp)->conn)
- && (req->vuid == (fsp)->vuid)) {
- return True;
- }
-
- reply_nterror(req, NT_STATUS_INVALID_HANDLE);
- return False;
-}
-
static bool netbios_session_retarget(const char *name, int name_type)
{
char *trim_name;