Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.

Stefan (metze) Metzmacher metze at samba.org
Thu Apr 1 02:30:46 MDT 2010


Hi Jeremy,

> - Log -----------------------------------------------------------------
> commit 6800fdbb81130b79c2e077e9a7fcbe2d5e0813cb
> Author: Jeremy Allison <jra at samba.org>
> Date:   Wed Mar 31 17:40:30 2010 -0700
> 
>     Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
>     
>     As these always call exit_server, make that part of the function.
>     Use _internal functions for the echo client.
>     
>     Metze please check !

The changes look ok...

> Summary of changes:
>  source3/smbd/globals.h     |   10 ++++-
>  source3/smbd/process.c     |   78 +++++++++++++++++++++----------------------
>  source3/smbd/reply.c       |   17 ++-------
>  source3/smbd/smb2_read.c   |    8 ++++
>  source3/smbd/smb2_server.c |    2 +-
>  source3/smbd/smb2_write.c  |    9 +++++
>  6 files changed, 68 insertions(+), 56 deletions(-)

But please make use of 'git add -i', 'git diff --cached', 'git commit'
to select only the related changes into the commit
and then use 'git show' to see what's in the commit.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-cvs/attachments/20100401/c5e10836/attachment.pgp>


More information about the samba-cvs mailing list