]> err.no Git - linux-2.6/commit
[SCSI] Clean up scsi_add_lun a bit
authorMatthew Wilcox <matthew@wil.cx>
Wed, 11 Jul 2007 18:54:55 +0000 (12:54 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sun, 15 Jul 2007 00:13:13 +0000 (19:13 -0500)
commit6d877688ef411313c94aa3c83c7473fbec6db32c
tree22ff6c12e524fd401d8405192befa8fa2c90a57b
parent0cba35e42ce58a5b20319f9f57f9aa4ce37daf76
[SCSI] Clean up scsi_add_lun a bit

This patch tidies up scsi_add_lun a bit.  I rewrote the kerneldoc to match
the actual parameters, moved the check for RBC and MMC REPORT_LUN devices
away from the switch(), changed the setup of sdev->type to account for
BLIST_ISROM, moved the check for BLIST_NO_ULD_ATTACH further down in
the function, removed a bogus comment and fixed some whitespace issues.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c