svn commit: samba r15817 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

vlendec at samba.org vlendec at samba.org
Mon May 22 18:52:54 GMT 2006


Author: vlendec
Date: 2006-05-22 18:52:54 +0000 (Mon, 22 May 2006)
New Revision: 15817

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15817

Log:
Remove some unused code
Modified:
   branches/SAMBA_3_0/source/smbd/files.c
   trunk/source/smbd/files.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/files.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/files.c	2006-05-22 17:42:14 UTC (rev 15816)
+++ branches/SAMBA_3_0/source/smbd/files.c	2006-05-22 18:52:54 UTC (rev 15817)
@@ -32,8 +32,6 @@
  
 /* 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 @@
 }
 
 /****************************************************************************
- 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.
 ****************************************************************************/
 

Modified: trunk/source/smbd/files.c
===================================================================
--- trunk/source/smbd/files.c	2006-05-22 17:42:14 UTC (rev 15816)
+++ trunk/source/smbd/files.c	2006-05-22 18:52:54 UTC (rev 15817)
@@ -32,8 +32,6 @@
  
 /* 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;
 
@@ -501,24 +499,6 @@
 }
 
 /****************************************************************************
- 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.
 ****************************************************************************/
 



More information about the samba-cvs mailing list