BUG: https://bugzilla.samba.org/show_bug.cgi?id=15754
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Nov 18 12:43:28 UTC 2024 on atb-devel-224
if (!NT_STATUS_IS_OK(status)) {
DBG_ERR("share_mode_entry_prepare_lock_del() failed for %s - %s\n",
fsp_str_dbg(fsp), nt_errstr(status));
- return status;
+ log_stack_trace();
+ goto close_fd;
}
/* Remove the oplock before potentially deleting the file. */
lease);
}
+close_fd:
status1 = fd_close(fsp);
if (!NT_STATUS_IS_OK(status1)) {