]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi_transport_fc: fix FC_HOST_NUM_ATTRS
authorAndreas Herrmann <aherrman@de.ibm.com>
Thu, 9 Mar 2006 15:37:49 +0000 (16:37 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 9 Mar 2006 16:00:59 +0000 (11:00 -0500)
commitad139a2f56e5789aa8a9f74e3600a7f854a38de9
treec7913bb81cd698f29a63cb7a9728028635b75bbe
parentcdaeedae9844ec3deaafa00b7dd8c21e01368633
[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>
drivers/scsi/scsi_transport_fc.c