smbd: Simplify downgrade_share_lease
authorVolker Lendecke <vl@samba.org>
Sun, 16 Sep 2018 09:25:14 +0000 (11:25 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Oct 2018 20:22:37 +0000 (22:22 +0200)
commitcff1b31c2a82d7e07b7d413bed8a2843f1cd6508
tree115553bee45a77609d449e57c2a8a923ac881bfc
parenta93aa1511fe71a7d43facb79cca7e89aed289075
smbd: Simplify downgrade_share_lease

Coalesce the NT_STATUS_OPLOCK_BREAK_IN_PROGRESS case into just one
if-condition

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Oct  2 22:22:37 CEST 2018 on sn-devel-144
source3/smbd/oplock.c