]> err.no Git - linux-2.6/commit
[SCSI] sym2: Manage sym_lcb properly
authorMatthew Wilcox <matthew@wil.cx>
Wed, 30 Nov 2005 04:08:31 +0000 (23:08 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 14 Dec 2005 01:11:33 +0000 (18:11 -0700)
commit84e203a279d3de1c8a41a73ab45e55a89bc19345
tree3015ec3496d9e8ed0dceb5beea5ec28ede6f1a0d
parent760c9de589175f5285668d17825c259aec08370c
[SCSI] sym2: Manage sym_lcb properly

Allocate the lcb in slave_alloc and free it in slave_destroy.  This allows
us to remove all the code that checks to see if it's already been allocated.

From: Christoph Hellwig <hch@lst.de>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_glue.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.h