aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 8eded08411f3..59c8772ee4ee 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -262,7 +262,7 @@ static struct stripe_head *get_active_stripe(raid5_conf_t *conf, sector_t sector
262 < (conf->max_nr_stripes *3/4) 262 < (conf->max_nr_stripes *3/4)
263 || !conf->inactive_blocked), 263 || !conf->inactive_blocked),
264 conf->device_lock, 264 conf->device_lock,
265 unplug_slaves(conf->mddev); 265 unplug_slaves(conf->mddev)
266 ); 266 );
267 conf->inactive_blocked = 0; 267 conf->inactive_blocked = 0;
268 } else 268 } else
@@ -407,7 +407,7 @@ static int resize_stripes(raid5_conf_t *conf, int newsize)
407 wait_event_lock_irq(conf->wait_for_stripe, 407 wait_event_lock_irq(conf->wait_for_stripe,
408 !list_empty(&conf->inactive_list), 408 !list_empty(&conf->inactive_list),
409 conf->device_lock, 409 conf->device_lock,
410 unplug_slaves(conf->mddev); 410 unplug_slaves(conf->mddev)
411 ); 411 );
412 osh = get_free_stripe(conf); 412 osh = get_free_stripe(conf);
413 spin_unlock_irq(&conf->device_lock); 413 spin_unlock_irq(&conf->device_lock);