cifs: close the shared root handle on tree disconnect
Subsystems (2)
PATCH 1/1 cifs: close the shared root handle on tree disconnect
Signed-off-by Ronnie Sahlberg <[email protected]>
--- fs/cifs/smb2pdu.c | 2 ++ 1 file changed, 2 insertions(+)
fs/cifs/smb2pdu.c +2 -0
@@ -1807,6 +1807,8 @@ SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon)if ((tcon->need_reconnect) || (tcon->ses->need_reconnect))return 0 ; +close_shroot (&tcon->crfid); + rc =smb2_plain_req_init (SMB2_TREE_DISCONNECT , tcon, (void **) &req, &total_len);if (rc)
Signature · 1 line
2.13.6
Steve French
Appliedmerged into cifs-2.6.git for-next
Quoted 22 lines · Ronnie Sahlberg
Signed-off-by Ronnie Sahlberg <[email protected]>--- fs/cifs/smb2pdu.c | 2 ++ 1 file changed, 2 insertions(+)fs/cifs/smb2pdu.c +2
-1@@ -1807,6 +1807,8 @@ SMB2_tdis(const unsigned int xid, struct cifs_tcon *tcon)if ((tcon->need_reconnect) || (tcon->ses->need_reconnect))return 0 ; +close_shroot (&tcon->crfid); + rc =smb2_plain_req_init (SMB2_TREE_DISCONNECT , tcon, (void **) &req, &total_len);if (rc) --2.13.6
Signature · 3 lines
Thanks, Steve