aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-04 05:23:04 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-04 13:12:44 -0500
commit37e0333c68ca9cbddfc0108e1889556287563df0 (patch)
tree2f6b27aff5b6d8e737c9a8f8bccdd8d3a3c25b9a /drivers/scsi/sd.c
parentde77aaff5f0178f44867f131deb5e2cb1610fe6b (diff)
[SCSI] SCSI osst: add error handling to module init, sysfs
- check all sysfs-related return codes, and propagate them back to callers - properly unwind errors in osst_probe(), init_osst(). This fixes a leak that occured if scsi driver registration failed, and fixes an oops if sysfs creation returned an error. (unrelated) - kzalloc() cleanup in new_tape_buf() Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions