commit | 37e0333c68ca9cbddfc0108e1889556287563df0 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Wed Oct 04 05:23:04 2006 -0400 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Oct 04 13:12:44 2006 -0500 |
tree | 2f6b27aff5b6d8e737c9a8f8bccdd8d3a3c25b9a | |
parent | de77aaff5f0178f44867f131deb5e2cb1610fe6b [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>