aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/smb2pdu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 87f430ecb85f..1e136eee3ea6 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -2161,11 +2161,9 @@ send_set_info(const unsigned int xid, struct cifs_tcon *tcon,
2161 rc = SendReceive2(xid, ses, iov, num, &resp_buftype, 0); 2161 rc = SendReceive2(xid, ses, iov, num, &resp_buftype, 0);
2162 rsp = (struct smb2_set_info_rsp *)iov[0].iov_base; 2162 rsp = (struct smb2_set_info_rsp *)iov[0].iov_base;
2163 2163
2164 if (rc != 0) { 2164 if (rc != 0)
2165 cifs_stats_fail_inc(tcon, SMB2_SET_INFO_HE); 2165 cifs_stats_fail_inc(tcon, SMB2_SET_INFO_HE);
2166 goto out; 2166
2167 }
2168out:
2169 free_rsp_buf(resp_buftype, rsp); 2167 free_rsp_buf(resp_buftype, rsp);
2170 kfree(iov); 2168 kfree(iov);
2171 return rc; 2169 return rc;