s3: smbd: If smbd_do_qfilepathinfo() causes an oplock or lease break, we must check...
authorJeremy Allison <jra@samba.org>
Wed, 19 Jun 2019 18:23:41 +0000 (11:23 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 24 Jun 2019 18:49:10 +0000 (18:49 +0000)
commitbd203e98f84109899704ac86ebcfe9a0fe394d32
tree366b19d1a82474dacd758f4661fda88ec9941b4a
parent147ce70eeaf71d4aae0cb7af1f556e1404eaeb2c
s3: smbd: If smbd_do_qfilepathinfo() causes an oplock or lease break, we must check for deferred open here.

Note this isn't an issue in SMB2, as no SMB2 info level requests
called by smbd_do_qfilepathinfo()/smbd_do_setfilepathinfo() from
SMB2 can cause a oplock or lease break.

The SMB1 trans2.c: calling of smbd_do_setfilepathinfo()
correctly copes with this, this was just missed in the
SMB1 call of smbd_do_qfilepathinfo().

Needed for the following POSIX ACL query interacting
with Windows oplock file test to follow.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/trans2.c