fcst: Fix a bug in a pre-2.6.36 error path. This was spotted by both sparse and smatch.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4873 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-05-21 18:18:37 +00:00
parent 88762d3574
commit b0133418e3

View File

@@ -461,7 +461,7 @@ static void ft_send_resp_status(struct fc_frame *rx_fp, u32 status,
lport->tt.seq_send(lport, sp, fp);
out:
lport->tt.exch_done(sp);
lport->tt.exch_done(fr_seq(rx_fp));
#else
fc_fill_reply_hdr(fp, rx_fp, FC_RCTL_DD_CMD_STATUS, 0);
sp = fr_seq(fp);