|
@@ -394,8 +394,7 @@ static int flush_by_group(struct log_c *lc, struct list_head *flush_list)
|
|
group[count] = fe->region;
|
|
group[count] = fe->region;
|
|
count++;
|
|
count++;
|
|
|
|
|
|
- list_del(&fe->list);
|
|
|
|
- list_add(&fe->list, &tmp_list);
|
|
|
|
|
|
+ list_move(&fe->list, &tmp_list);
|
|
|
|
|
|
type = fe->type;
|
|
type = fe->type;
|
|
if (count >= MAX_FLUSH_GROUP_COUNT)
|
|
if (count >= MAX_FLUSH_GROUP_COUNT)
|