]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: add missing spin_lock_init.
authorNeilBrown <neilb@suse.de>
Mon, 24 Sep 2012 06:27:20 +0000 (16:27 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 24 Sep 2012 06:27:20 +0000 (16:27 +1000)
commit1280947826e397fda146cfc1b23d87b28514c10e
treef214f5611d50aa085f9a78bd9b138a34ae8489cf
parentb69632c62687ff5a8df88334b935820444c32866
md/raid5: add missing spin_lock_init.

commit 4a51185b1b24dc3c9a466af5de6b5523b2949f7
   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: NeilBrown <neilb@suse.de>
drivers/md/raid5.c