Red Hat Bugzilla – Bug 154435
kernel dm-emc: Fix spinlock reset
Last modified: 2007-11-30 17:07:17 EST
Here's a trivial fix to the emc hardware
handler module. The old code memset the hardware handler
structure to zero AFTER it had initialized the structure's
spinlock field to SPIN_LOCK_UNLOCKED. The new patch moves the
memset into the hardware handler allocator.
The old code would probably only have a problem if someone
ran with spinlock debugging enabled, in which case SPIN_LOCK_UNLOCKED
contains the value SPINLOCK_MAGIC.
[Dave Olien, OSDL]
Created attachment 112966 [details]
Confirmed locally and applied.
Added to 2.6.12-rc2-udm1
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.