smbd: Fix retry for kernel-oplocked files

This now removed comment describes the bug correctly:
/*
 * As this timer event is owned by req, it will
 * disappear if req it talloc_freed.
 */

In smb1, "req" disappears once the reply_whatever routine is done. Thus
the timer goes away and we never look at "req" again.

This change moves the valid data (xconn and mid) to
deferred_open_record, and changes the talloc hierarchy such that the
timer is now a child of open_rec, which is a child of the deferred
message.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14060
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jul 31 00:12:34 UTC 2019 on sn-devel-184

(cherry picked from commit 2b590e16)
22 jobs for vl/bug-14060-v4.10 in 210 minutes and 46 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #264493820
shared docker
build_ctdb

00:35:47

passed #264493822
shared docker
build_others

00:11:47

passed #264493824
private docker
build_samba

03:30:44

passed #264493828
private docker
build_samba_ad_dc

01:12:00

passed #264493813
shared docker
build_samba_ad_dc_2

00:27:25

passed #264493816
shared docker
build_samba_ad_dc_2_py2

00:24:07

passed #264493814
shared docker
build_samba_ad_dc_backup

00:32:45

passed #264493815
shared docker
build_samba_ad_dc_backup_py2

00:22:30

passed #264493829
private docker
build_samba_ad_dc_py2

00:15:32

passed #264493823
shared docker
build_samba_buildpy2_only

00:17:22

passed #264493821
shared docker
build_samba_ctdb

00:18:50

passed #264493827
private docker
build_samba_fileserver

00:17:05

passed #264493817
shared docker
build_samba_libs

00:30:04

passed #264493818
shared docker
build_samba_libs_py2

00:34:30

passed #264493807
shared docker
build_samba_none_env

00:44:53

passed #264493808
shared docker
build_samba_none_env_py2

00:30:36

passed #264493809
shared docker
build_samba_nopython

00:24:26

passed #264493812
shared docker
build_samba_o3

00:32:28

passed #264493825
private docker
build_samba_py2

01:06:30

passed #264493819
shared docker
build_samba_static

00:45:11

passed #264493810
shared docker
build_samba_systemkrb5

00:14:36

passed #264493811
shared docker
build_samba_xc

00:04:52