aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid6main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid6main.c')
-rw-r--r--drivers/md/raid6main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid6main.c b/drivers/md/raid6main.c
index 8c823d686a60..f618a53b98be 100644
--- a/drivers/md/raid6main.c
+++ b/drivers/md/raid6main.c
@@ -88,7 +88,7 @@ static inline int raid6_next_disk(int disk, int raid_disks)
88 88
89static void print_raid6_conf (raid6_conf_t *conf); 89static void print_raid6_conf (raid6_conf_t *conf);
90 90
91static inline void __release_stripe(raid6_conf_t *conf, struct stripe_head *sh) 91static void __release_stripe(raid6_conf_t *conf, struct stripe_head *sh)
92{ 92{
93 if (atomic_dec_and_test(&sh->count)) { 93 if (atomic_dec_and_test(&sh->count)) {
94 if (!list_empty(&sh->lru)) 94 if (!list_empty(&sh->lru))
@@ -197,7 +197,7 @@ static int grow_buffers(struct stripe_head *sh, int num)
197 197
198static void raid6_build_block (struct stripe_head *sh, int i); 198static void raid6_build_block (struct stripe_head *sh, int i);
199 199
200static inline void init_stripe(struct stripe_head *sh, sector_t sector, int pd_idx) 200static void init_stripe(struct stripe_head *sh, sector_t sector, int pd_idx)
201{ 201{
202 raid6_conf_t *conf = sh->raid_conf; 202 raid6_conf_t *conf = sh->raid_conf;
203 int disks = conf->raid_disks, i; 203 int disks = conf->raid_disks, i;
@@ -1577,7 +1577,7 @@ static void handle_stripe(struct stripe_head *sh, struct page *tmp_page)
1577 } 1577 }
1578} 1578}
1579 1579
1580static inline void raid6_activate_delayed(raid6_conf_t *conf) 1580static void raid6_activate_delayed(raid6_conf_t *conf)
1581{ 1581{
1582 if (atomic_read(&conf->preread_active_stripes) < IO_THRESHOLD) { 1582 if (atomic_read(&conf->preread_active_stripes) < IO_THRESHOLD) {
1583 while (!list_empty(&conf->delayed_list)) { 1583 while (!list_empty(&conf->delayed_list)) {
@@ -1593,7 +1593,7 @@ static inline void raid6_activate_delayed(raid6_conf_t *conf)
1593 } 1593 }
1594} 1594}
1595 1595
1596static inline void activate_bit_delay(raid6_conf_t *conf) 1596static void activate_bit_delay(raid6_conf_t *conf)
1597{ 1597{
1598 /* device_lock is held */ 1598 /* device_lock is held */
1599 struct list_head head; 1599 struct list_head head;