1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r13331: No I didn't have to change the interface version...

Jeremy.
(This used to be commit 2aed5b3640)
This commit is contained in:
Jeremy Allison 2006-02-04 06:36:02 +00:00 committed by Gerald (Jerry) Carter
parent 40d3c7ebb2
commit 7f5e36df8d

View File

@ -25,11 +25,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 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 "includes.h"
#include "smb_share_modes.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)); 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. * Check if an external smb_share_mode_entry and an internal share_mode entry match.
*/ */