summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-04 06:36:02 +0000
committerJeremy Allison <jra@samba.org>2006-02-04 06:36:02 +0000
commit52ae9973793d61227e6e2439258ea3401498fe81 (patch)
tree0948511ccc434638e09d54c4e3fc080a482aa87f /source
parent194759ca047432b65d16b16e75373ca4830cae3f (diff)
downloadsamba-52ae9973793d61227e6e2439258ea3401498fe81.tar.gz
samba-52ae9973793d61227e6e2439258ea3401498fe81.tar.xz
samba-52ae9973793d61227e6e2439258ea3401498fe81.zip
r13331: No I didn't have to change the interface version...
Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/libsmb/smb_share_modes.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/source/libsmb/smb_share_modes.c b/source/libsmb/smb_share_modes.c
index f7e7baf445d..090571b8107 100644
--- a/source/libsmb/smb_share_modes.c
+++ b/source/libsmb/smb_share_modes.c
@@ -25,11 +25,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/*
- * Version 2 - interface changed to handle the token added for correct
- * delete on close semantics.
- */
-
#include "includes.h"
#include "smb_share_modes.h"
@@ -120,23 +115,6 @@ int smb_unlock_share_mode_entry(struct smbdb_ctx *db_ctx,
return tdb_chainunlock(db_ctx->smb_tdb, get_locking_key(dev, ino));
}
-#if 0
-struct locking_data {
- union {
- struct {
- int num_share_mode_entries;
- BOOL delete_on_close;
- BOOL initial_delete_on_close;
- } 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[];
- */
-};
-#endif
-
/*
* Check if an external smb_share_mode_entry and an internal share_mode entry match.
*/