dect
/
linux-2.6
Archived
13
0
Fork 0

[SCSI] scsi_transport_fc: fix FC_HOST_NUM_ATTRS

In the past I added an host attribute but unfortunately
I forgot to increase FC_HOST_NUM_ATTRS.
This is fixed with the patch. Otherwise an fibre channel
lld might run into
      BUG_ON(count > FC_HOST_NUM_ATTRS);
in fc_attach_transport().

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
Andreas Herrmann 2006-03-09 16:37:49 +01:00 committed by James Bottomley
parent cdaeedae98
commit ad139a2f56
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static void fc_rport_terminate(struct fc_rport *rport);
*/
#define FC_STARGET_NUM_ATTRS 3
#define FC_RPORT_NUM_ATTRS 9
#define FC_HOST_NUM_ATTRS 16
#define FC_HOST_NUM_ATTRS 17
struct fc_internal {
struct scsi_transport_template t;