smbd: Simplify share_mode_lock.c
commit9e515f7c66d950be0ad3839c50fff1329aebc002
authorVolker Lendecke <vl@samba.org>
Mon, 10 Sep 2018 12:50:40 +0000 (10 14:50 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 14 Sep 2018 05:49:14 +0000 (14 07:49 +0200)
tree722d68f4ac23d227284115d271d658514c0ea980
parent89e500d8ad75d29ab7242947f7b869488ba76192
smbd: Simplify share_mode_lock.c

"the_lock_id" is not required here. The share mode data carry the file
id, so use that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/locking/share_mode_lock.c