From 26814c585e009f13f1f8e668e28b7258842a7ab7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 10 Jul 2005 16:40:06 +0000 Subject: r8292: Tidy up function comments. Jeremy. --- source/smbd/files.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/source/smbd/files.c b/source/smbd/files.c index 80e5b0f710f..c90c2b627ca 100644 --- a/source/smbd/files.c +++ b/source/smbd/files.c @@ -238,6 +238,10 @@ void file_close_user(int vuid) } } +/**************************************************************************** + Debug to enumerate all open files in the smbd. +****************************************************************************/ + void file_dump_open_table(void) { int count=0; @@ -508,7 +512,7 @@ void file_chain_reset(void) } /**************************************************************************** -Save the chained fsp - done when about to do an oplock break. + Save the chained fsp - done when about to do an oplock break. ****************************************************************************/ void file_chain_save(void) @@ -517,7 +521,7 @@ void file_chain_save(void) } /**************************************************************************** -Restore the chained fsp - done after an oplock break. + Restore the chained fsp - done after an oplock break. ****************************************************************************/ void file_chain_restore(void) @@ -525,6 +529,10 @@ void file_chain_restore(void) chain_fsp = oplock_save_chain_fsp; } +/**************************************************************************** + Duplicate the file handle part for a DOS or FCB open. +****************************************************************************/ + files_struct *dup_file_fsp(files_struct *fsp, uint32 access_mask, uint32 share_access, -- cgit