summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2018-09-18 21:53:54 +0530
committerVolker Lendecke <vl@samba.org>2018-10-02 10:40:05 +0200
commit380066d2e5065e987f9249d8edb68f545b3b6b76 (patch)
treefca725a33525a12b1d6e54269a03f9c98f3f1c11 /source4
parent46e171e2e07e61d1184b185989bca5e5e29313d4 (diff)
downloadsamba-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