1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/locking
Ralph Boehme 0ef9c67b56 s3:locking: initialize lease pointer in share_mode_traverse_fn()
Initialize lease pointer to point to the share_mode_data leases array
entry at index lease_idx.

This fixes a bug in smbstatus where the lease info is not printed.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11549

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 13 01:14:09 CEST 2015 on sn-devel-104
2015-10-13 01:14:09 +02:00
..
brlock.c Convert all uint32/16/8 to _t in source3/locking. 2015-05-13 19:11:23 +02:00
leases_db.c leases_db: don't leak lock_path onto talloc tos 2015-01-12 19:22:30 +01:00
leases_db.h s3:locking: Change the data model for leases_db to cope with dynamic path renames. 2014-12-09 03:44:04 +01:00
locking.c Convert uint64 to uint64_t 2015-05-15 19:31:24 +02:00
posix.c Convert all uint32/16/8 to _t in source3/locking. 2015-05-13 19:11:23 +02:00
proto.h s3:smbstatus: add stream name to share_entry_forall() 2015-10-12 22:13:19 +02:00
share_mode_lock.c s3:locking: initialize lease pointer in share_mode_traverse_fn() 2015-10-13 01:14:09 +02:00