r13331: No I didn't have to change the interface version...
authorJeremy Allison <jra@samba.org>
Sat, 4 Feb 2006 06:36:02 +0000 (06:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:25 +0000 (11:06 -0500)
Jeremy.
(This used to be commit 2aed5b36409e05ac25b4492669f47d50be988f2c)

source3/libsmb/smb_share_modes.c

index f7e7baf445df55204b97d8a19473d98582f9446d..090571b810764df0311cfcecae0c31fca64ade17 100644 (file)
    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.
  */