mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r15817: Remove some unused code
This commit is contained in:
parent
b013b6908d
commit
72f103708d
@ -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;
|
||||
|
||||
@ -502,24 +500,6 @@ void file_chain_reset(void)
|
||||
chain_fsp = NULL;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
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.
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user