diff options
author | Anoop C S <anoopcs@redhat.com> | 2018-09-18 21:53:54 +0530 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2018-10-02 10:40:05 +0200 |
commit | 380066d2e5065e987f9249d8edb68f545b3b6b76 (patch) | |
tree | fca725a33525a12b1d6e54269a03f9c98f3f1c11 /source4 | |
parent | 46e171e2e07e61d1184b185989bca5e5e29313d4 (diff) | |
download | samba-380066d2e5065e987f9249d8edb68f545b3b6b76.tar.gz |
s3/locking: Fix logging of lock reference count
lock reference count is always increased and reduced by a value of 1.
But lock_ref_count variable holds the old value prior to change and
was being logged wrongly under debug level 10. DEBUG statement must
log lock_ref_count+1 and lock_ref_count-1 respectively when value
gets increased and decreased.
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions