diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2011-01-28 19:04:34 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-12 12:03:40 -0500 |
commit | 62bdb6455e8326f864ae1b43b4c4db7f630edc1c (patch) | |
tree | a802a76583670b42d7d36f69241e6bb31ff49b16 /include/scsi | |
parent | 04885b16a1ec86b4670702b99a81805e66bf9f30 (diff) |
[SCSI] libfc: export seq_release() for users of seq_assign()
Target modules using lport->tt.seq_assign() get a hold on the
exchange but have no way of releasing it. Add that.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 79d1c76b4269..6d64e44bc3bf 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -572,6 +572,13 @@ struct libfc_function_template { | |||
572 | struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *); | 572 | struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *); |
573 | 573 | ||
574 | /* | 574 | /* |
575 | * Release the reference on the sequence returned by seq_assign(). | ||
576 | * | ||
577 | * STATUS: OPTIONAL | ||
578 | */ | ||
579 | void (*seq_release)(struct fc_seq *); | ||
580 | |||
581 | /* | ||
575 | * Reset an exchange manager, completing all sequences and exchanges. | 582 | * Reset an exchange manager, completing all sequences and exchanges. |
576 | * If s_id is non-zero, reset only exchanges originating from that FID. | 583 | * If s_id is non-zero, reset only exchanges originating from that FID. |
577 | * If d_id is non-zero, reset only exchanges sending to that FID. | 584 | * If d_id is non-zero, reset only exchanges sending to that FID. |