[SCSI] scsi_transport_spi: fix the attribute settings
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 21 Mar 2008 01:57:02 +0000 (20:57 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 22 Apr 2008 20:16:31 +0000 (15:16 -0500)
commit352f6bb422bd31a80b4a0f1c3f19b6993df2508c
treee4ed6d1754193a3babdee8a0c147fc13470be804
parent0f4238958d28044b335644b69df6071cdb04b5ce
[SCSI] scsi_transport_spi: fix the attribute settings

We now take advantage of the mode_t return of is_valid, and also
update the attributes when the target is configured.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_spi.c