smbd: Don't pass up lease_idx from grant_fsp_lease
authorVolker Lendecke <vl@samba.org>
Tue, 18 Sep 2018 09:37:28 +0000 (11:37 +0200)
committerChristof Schmitt <cs@samba.org>
Sun, 14 Apr 2019 04:01:32 +0000 (04:01 +0000)
commit2ea2605e7002508aa952899fb8f81e4e62684767
tree5a9bd0de659b187a6866a82a86e58cc88da92012
parent552faa910fdcfb95602440096ec3fac9e6015177
smbd: Don't pass up lease_idx from grant_fsp_lease

The only reason for grant_fsp_lease to return the lease_idx was to pass it down
to set_share_mode. That does not need it anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/smbd/open.c