Skip to content
Commit cb13ff69 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: add missing spin_lock_init.



commit b17459c0
   raid5: add a per-stripe lock

added a spin_lock to the 'stripe_head' struct.
Unfortunately there are two places where this struct is allocated
but the spin lock was only initialised in one of them.

So add the missing spin_lock_init.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 6dafab6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment