diff options
| -rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 1 | ||||
| -rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/libfc/fc_libfc.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 77035a746f60..4d2994d38fb9 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
| @@ -1978,6 +1978,7 @@ static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport, | |||
| 1978 | spin_unlock_bh(&ep->ex_lock); | 1978 | spin_unlock_bh(&ep->ex_lock); |
| 1979 | return sp; | 1979 | return sp; |
| 1980 | err: | 1980 | err: |
| 1981 | fc_fcp_ddp_done(fr_fsp(fp)); | ||
| 1981 | rc = fc_exch_done_locked(ep); | 1982 | rc = fc_exch_done_locked(ep); |
| 1982 | spin_unlock_bh(&ep->ex_lock); | 1983 | spin_unlock_bh(&ep->ex_lock); |
| 1983 | if (!rc) | 1984 | if (!rc) |
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index 2a3a4720a771..f880d40d4e78 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
| @@ -312,7 +312,7 @@ void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid) | |||
| 312 | * DDP related resources for a fcp_pkt | 312 | * DDP related resources for a fcp_pkt |
| 313 | * @fsp: The FCP packet that DDP had been used on | 313 | * @fsp: The FCP packet that DDP had been used on |
| 314 | */ | 314 | */ |
| 315 | static void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) | 315 | void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp) |
| 316 | { | 316 | { |
| 317 | struct fc_lport *lport; | 317 | struct fc_lport *lport; |
| 318 | 318 | ||
diff --git a/drivers/scsi/libfc/fc_libfc.h b/drivers/scsi/libfc/fc_libfc.h index fedc819d70c0..c7d071289af5 100644 --- a/drivers/scsi/libfc/fc_libfc.h +++ b/drivers/scsi/libfc/fc_libfc.h | |||
| @@ -108,6 +108,7 @@ extern struct fc4_prov fc_rport_fcp_init; /* FCP initiator provider */ | |||
| 108 | * Set up direct-data placement for this I/O request | 108 | * Set up direct-data placement for this I/O request |
| 109 | */ | 109 | */ |
| 110 | void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid); | 110 | void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid); |
| 111 | void fc_fcp_ddp_done(struct fc_fcp_pkt *fsp); | ||
| 111 | 112 | ||
| 112 | /* | 113 | /* |
| 113 | * Module setup functions | 114 | * Module setup functions |
