summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-04 06:31:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:25 -0500
commit40d3c7ebb22bae6f486e8c60c3bb0494d2d397d9 (patch)
tree34e4eec0c679809d469bf853459d5c27b3c1c090 /source3/locking
parentfeb50dae419380f200bc127632be88637788dc8f (diff)
downloadsamba-40d3c7ebb22bae6f486e8c60c3bb0494d2d397d9.tar.gz
samba-40d3c7ebb22bae6f486e8c60c3bb0494d2d397d9.tar.bz2
samba-40d3c7ebb22bae6f486e8c60c3bb0494d2d397d9.zip
r13329: Fix libsmbsharemodes.so to work with the stored delete token.
Less trouble than I thought plus it didn't need an interface change (thank goodness !). Jeremy. (This used to be commit dbe2572d1c713f46b0d1d0c405f88456c9336297)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 666988b541..9a707f80a4 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -44,24 +44,6 @@ uint16 global_smbpid;
/* the locking database handle */
static TDB_CONTEXT *tdb;
-struct locking_data {
- union {
- struct {
- int num_share_mode_entries;
- BOOL delete_on_close;
- BOOL initial_delete_on_close; /* Only set at NTCreateX if file was created. */
- uint32 delete_token_size; /* Only valid if either of
- the two previous fields
- are True. */
- } s;
- struct share_mode_entry dummy; /* Needed for alignment. */
- } u;
- /* the following two entries are implicit
- struct share_mode_entry modes[num_share_mode_entries];
- char file_name[];
- */
-};
-
/****************************************************************************
Debugging aid :-).
****************************************************************************/