The branch, master has been updated via 91ccaa87.. s3: Remove a pointless memset from f0a933d... s3: Cache brlock.tdb entries for the fast read&write strict locking code path
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 91ccaa87da9a5f8148636b0771fe1c67317187d3 Author: Volker Lendecke <v...@samba.org> Date: Mon Nov 16 08:54:55 2009 +0100 s3: Remove a pointless memset We are assigning the complete structure now (we used to assign individual fields), so this is obsolete. ----------------------------------------------------------------------- Summary of changes: source3/locking/brlock.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index d3f5e61..b021293 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -1810,7 +1810,6 @@ static struct byte_range_lock *brl_get_locks_internal(TALLOC_CTX *mem_ctx, br_lck->fsp = fsp; br_lck->num_locks = 0; br_lck->modified = False; - memset(&br_lck->key, '\0', sizeof(struct file_id)); br_lck->key = fsp->file_id; key.dptr = (uint8 *)&br_lck->key; -- Samba Shared Repository