summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-22 18:52:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:10 -0500
commite2a90398eca525351022b47eb1e4b864ee9e63ea (patch)
tree121a74ce128a7445db9fe9ba6f4911e9ecd0ee9c /source3/smbd
parent824ba94fbe2e25efdd63e15342e14f4a9e078357 (diff)
downloadsamba-e2a90398eca525351022b47eb1e4b864ee9e63ea.tar.gz
samba-e2a90398eca525351022b47eb1e4b864ee9e63ea.tar.bz2
samba-e2a90398eca525351022b47eb1e4b864ee9e63ea.zip
r15817: Remove some unused code
(This used to be commit 72f103708d17aa86e09fa7a02699f969f7ee9190)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/files.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 53207e876e..e020d8e13a 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -32,8 +32,6 @@ static files_struct *Files;
/* a fsp to use when chaining */
static files_struct *chain_fsp = NULL;
-/* a fsp to use to save when breaking an oplock. */
-static files_struct *oplock_save_chain_fsp = NULL;
static int files_used;
@@ -503,24 +501,6 @@ void file_chain_reset(void)
}
/****************************************************************************
- Save the chained fsp - done when about to do an oplock break.
-****************************************************************************/
-
-void file_chain_save(void)
-{
- oplock_save_chain_fsp = chain_fsp;
-}
-
-/****************************************************************************
- Restore the chained fsp - done after an oplock break.
-****************************************************************************/
-
-void file_chain_restore(void)
-{
- chain_fsp = oplock_save_chain_fsp;
-}
-
-/****************************************************************************
Duplicate the file handle part for a DOS or FCB open.
****************************************************************************/