s3/locking: helper functions for lease types
authorRalph Boehme <slow@samba.org>
Thu, 4 May 2017 09:50:56 +0000 (11:50 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 May 2017 08:17:08 +0000 (10:17 +0200)
commit88360c7a8553261159ad81d64c96c79c6aacecac
tree7a96f6f3e4990572bb43f7c1f4019263f3513962
parent935fab0d03c7c648129e564b1f80fd357e7a72dc
s3/locking: helper functions for lease types

Add some helper functions that will be used to update a bunch of checks
for exclusive oplocks to the lease area.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f631e95e2de857ea98204609a71e6db00993994b)
source3/locking/leases_util.c
source3/locking/proto.h