smb2pdu.c (46eeaa11bdd1bc9e077bdf741d32ca7235d263c6) smb2pdu.c (6f17163b9339fac92023a1d9bef22128db3b9a4b)
1// SPDX-License-Identifier: LGPL-2.1
2/*
3 *
4 * Copyright (C) International Business Machines Corp., 2009, 2013
5 * Etersoft, 2012
6 * Author(s): Steve French (sfrench@us.ibm.com)
7 * Pavel Shilovsky (pshilovsky@samba.org) 2012
8 *

--- 3535 unchanged lines hidden (view full) ---

3544 goto close_exit;
3545 } else {
3546 trace_smb3_close_done(xid, persistent_fid, tcon->tid,
3547 ses->Suid);
3548 if (pbuf)
3549 memcpy(&pbuf->network_open_info,
3550 &rsp->network_open_info,
3551 sizeof(pbuf->network_open_info));
1// SPDX-License-Identifier: LGPL-2.1
2/*
3 *
4 * Copyright (C) International Business Machines Corp., 2009, 2013
5 * Etersoft, 2012
6 * Author(s): Steve French (sfrench@us.ibm.com)
7 * Pavel Shilovsky (pshilovsky@samba.org) 2012
8 *

--- 3535 unchanged lines hidden (view full) ---

3544 goto close_exit;
3545 } else {
3546 trace_smb3_close_done(xid, persistent_fid, tcon->tid,
3547 ses->Suid);
3548 if (pbuf)
3549 memcpy(&pbuf->network_open_info,
3550 &rsp->network_open_info,
3551 sizeof(pbuf->network_open_info));
3552 atomic_dec(&tcon->num_remote_opens);
3552 }
3553
3553 }
3554
3554 atomic_dec(&tcon->num_remote_opens);
3555close_exit:
3556 SMB2_close_free(&rqst);
3557 free_rsp_buf(resp_buftype, rsp);
3558
3559 /* retry close in a worker thread if this one is interrupted */
3560 if (is_interrupt_error(rc)) {
3561 int tmp_rc;
3562

--- 2325 unchanged lines hidden ---
3555close_exit:
3556 SMB2_close_free(&rqst);
3557 free_rsp_buf(resp_buftype, rsp);
3558
3559 /* retry close in a worker thread if this one is interrupted */
3560 if (is_interrupt_error(rc)) {
3561 int tmp_rc;
3562

--- 2325 unchanged lines hidden ---