summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-07-10 16:40:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:19 -0500
commite24397f084282de2b88dc83995740037e8c4cf32 (patch)
treea65194e4ececc051c38c5d992d507e7c4259bc81 /source3
parenta5b39d1f74cd1b9271fed6017cb0708320339a14 (diff)
downloadsamba-e24397f084282de2b88dc83995740037e8c4cf32.tar.gz
samba-e24397f084282de2b88dc83995740037e8c4cf32.tar.bz2
samba-e24397f084282de2b88dc83995740037e8c4cf32.zip
r8292: Tidy up function comments.
Jeremy. (This used to be commit 8de6b1592ad205f59c44ed30102a56594f65e555)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/files.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 80e5b0f710..c90c2b627c 100644
--- a/source3/smbd/files.c
+++ b/source3/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,