diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-21 17:12:00 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-11-23 09:02:10 +0100 |
commit | b4ca1fa538bab84234263ea05238f4018f95b403 (patch) | |
tree | 5b50e34d89b4802737df69d20d2a3b70921e36f3 /source3/include | |
parent | a17e01baa79bd9205232f81534a700ac4aa951c3 (diff) | |
download | samba-b4ca1fa538bab84234263ea05238f4018f95b403.tar.gz samba-b4ca1fa538bab84234263ea05238f4018f95b403.tar.bz2 samba-b4ca1fa538bab84234263ea05238f4018f95b403.zip |
s3: Replace delete_token_list by an array
This will make it easier to convert locking.tdb to IDL, and I don't think there
will be enough entries to justify a linked list over an array.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 23 09:02:12 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 22575be469..95f0a7136d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -614,8 +614,7 @@ Offset Data length. #define OP_BREAK_MSG_VNN_OFFSET 72 #define MSG_SMB_SHARE_MODE_ENTRY_SIZE 76 -struct delete_token_list { - struct delete_token_list *next, *prev; +struct delete_token { uint32_t name_hash; struct security_unix_token *delete_token; }; @@ -627,7 +626,8 @@ struct share_mode_lock { struct file_id id; int num_share_modes; struct share_mode_entry *share_modes; - struct delete_token_list *delete_tokens; + int num_delete_tokens; + struct delete_token *delete_tokens; struct timespec old_write_time; struct timespec changed_write_time; bool fresh; |