s3: locking: Move two leases functions into a new file.
commita619054b4b210433df44b0d1852ee57e90b35318
authorJeremy Allison <jra@samba.org>
Tue, 14 Mar 2017 20:23:13 +0000 (14 13:23 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 Mar 2017 10:25:14 +0000 (27 12:25 +0200)
tree64fc44140f18402458b90e05da1fb32fdcdf97fa
parent32f7ba9dad215dd177a19b9c04d35c9e4d69f77e
s3: locking: Move two leases functions into a new file.

map_oplock_to_lease_type(), fsp_lease_type().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12628

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 125c78ad0b8f9caaef1ba2f1aeb5ec593375fccd)
source3/locking/leases_util.c [new file with mode: 0644]
source3/locking/proto.h
source3/smbd/files.c
source3/smbd/oplock.c
source3/smbd/proto.h
source3/wscript_build