diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-10-04 05:23:04 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-04 14:12:44 -0400 |
commit | 37e0333c68ca9cbddfc0108e1889556287563df0 (patch) | |
tree | 2f6b27aff5b6d8e737c9a8f8bccdd8d3a3c25b9a /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions