diff options
| author | James Bottomley <james.bottomley@steeleye.com> | 2002-07-03 22:40:19 -0700 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2002-07-03 22:40:19 -0700 |
| commit | 6fe152cf897b388bb53a4e17e356464fcb00833b (patch) | |
| tree | cebb69ceb4cf94a292e76cbd1c199b3e6d6f9bf2 /fs/proc/array.c | |
| parent | af8b48107f8eb52d56ea68e75620171e0e88a341 (diff) | |
[PATCH] fix SCSI driverfs for IDE panic on boot.
This panic was reported to lkml by Anton Altaparmakov. The code added to
partitions/check.c to add partitions to driverfs requires preparation by the
calling entity. There's a NULL pointer check to see if the calling entity
actually did the preparation, but IDE forgets to clear the area it kmalloc's
for struct genhd so the pointer contains junk.
The fix is just to clear the struct genhd before IDE uses it.
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
