summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-08-15 16:58:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:50 -0500
commit3dd3c4cd013dadd1a1f57ac3e0750018dc5a0698 (patch)
treebbc4c0e2fee99c10ee181c20e22fa3472ae0a296 /source3/smbd
parente60c0a5bff677e0626b6992b46b5a167cf14db1e (diff)
downloadsamba-3dd3c4cd013dadd1a1f57ac3e0750018dc5a0698.tar.gz
samba-3dd3c4cd013dadd1a1f57ac3e0750018dc5a0698.tar.bz2
samba-3dd3c4cd013dadd1a1f57ac3e0750018dc5a0698.zip
r24464: Now Volker removed the readbmpx we don't need cached errors any more.
Jeremy. (This used to be commit 9256ec0a20f532c7dd7ddc2d3534336a47e6c2d2)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/close.c1
-rw-r--r--source3/smbd/error.c16
2 files changed, 0 insertions, 17 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index 9718fef4ea..30220ce4de 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -102,7 +102,6 @@ static NTSTATUS close_filestruct(files_struct *fsp)
}
conn->num_files_open--;
- SAFE_FREE(fsp->wbmpx_ptr);
return status;
}
diff --git a/source3/smbd/error.c b/source3/smbd/error.c
index dd9ff85640..74029a2b05 100644
--- a/source3/smbd/error.c
+++ b/source3/smbd/error.c
@@ -25,22 +25,6 @@ extern struct unix_error_map unix_dos_nt_errmap[];
extern uint32 global_client_caps;
/****************************************************************************
- Create an error packet from a cached error.
-****************************************************************************/
-
-int cached_error_packet(const char *inbuf,char *outbuf,files_struct *fsp,int line,const char *file)
-{
- write_bmpx_struct *wbmpx = fsp->wbmpx_ptr;
- int32 eclass = wbmpx->wr_errclass;
- int32 err = wbmpx->wr_error;
- NTSTATUS ntstatus = wbmpx->wr_status;
-
- /* We can now delete the auxiliary struct */
- SAFE_FREE(fsp->wbmpx_ptr);
- return error_packet(inbuf,outbuf,eclass,err,ntstatus,line,file);
-}
-
-/****************************************************************************
Create an error packet from errno.
****************************************************************************/