|
@@ -335,7 +335,7 @@ static void cluster_list_add_tail(struct swap_cluster_list *list,
|
|
ci_tail = ci + tail;
|
|
ci_tail = ci + tail;
|
|
spin_lock_nested(&ci_tail->lock, SINGLE_DEPTH_NESTING);
|
|
spin_lock_nested(&ci_tail->lock, SINGLE_DEPTH_NESTING);
|
|
cluster_set_next(ci_tail, idx);
|
|
cluster_set_next(ci_tail, idx);
|
|
- unlock_cluster(ci_tail);
|
|
|
|
|
|
+ spin_unlock(&ci_tail->lock);
|
|
cluster_set_next_flag(&list->tail, idx, 0);
|
|
cluster_set_next_flag(&list->tail, idx, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|