diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-08-28 16:28:41 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-09-03 13:34:11 +0000 |
commit | 0a682a1898695839fe4933af61c8a1d4068005a3 (patch) | |
tree | 3b4f78690c1e6f8108c0c7b45c28c82f1a98aaff /selftest | |
parent | b83efaec1981600668fae5f67a483c2c698b6e68 (diff) | |
download | samba-0a682a1898695839fe4933af61c8a1d4068005a3.tar.gz |
s3:share_mode_lock: make sure share_mode_cleanup_disconnected() removes the record
This fixes one possible trigger for "PANIC: assert failed in get_lease_type()"
https://bugzilla.samba.org/show_bug.cgi?id=14428
This is no longer enough to remove the record:
d->have_share_modes = false;
d->modified = true;
Note that we can remove it completely from
share_mode_cleanup_disconnected() as
share_mode_forall_entries() already sets it
when there are no entries left.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14428
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit b5c0874fd5d31e252cf9ac8b84bde5c536b1e8ef)
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/bug-14428 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/bug-14428 b/selftest/knownfail.d/bug-14428 deleted file mode 100644 index e198400ea16..00000000000 --- a/selftest/knownfail.d/bug-14428 +++ /dev/null @@ -1 +0,0 @@ -^samba3.blackbox.durable_v2_delay.bug.14428 |