diff options
| author | FUJITA Tomonori <[email protected]> | 2008-01-15 13:17:47 +0900 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2008-01-23 11:29:28 -0600 |
| commit | a24484f281dda11e4fc0041a51907d3564da3d7f (patch) | |
| tree | 4ce9a5b3f7911d417e16dddf11a9b23f863cce0b /include/linux | |
| parent | d814c5173c671cf2c88d4e07db01b13312467ecd (diff) | |
[SCSI] sg: set class_data after success
If cdev_add fails in sg_add, sg_remove crashes since class_data is
bogus.
Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: Douglas Gilbert <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions