Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com> --- drivers/md/dm-ploop-map.c | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/drivers/md/dm-ploop-map.c b/drivers/md/dm-ploop-map.c index cab9dea72fd8..a2737e9beac3 100644 --- a/drivers/md/dm-ploop-map.c +++ b/drivers/md/dm-ploop-map.c @@ -684,12 +684,6 @@ static void ploop_advance_local_after_bat_wb(struct ploop *ploop, bat_entries[i] = dst_clu[i]; md->bat_levels[i] = top_level(ploop); } else { - /* - * Despite set_bit() is atomic, we take read_lock() - * to access ploop->bat_entries[] above (really it's - * not need, since new wb to this page can't start - * before this wb is ended). - */ ploop_hole_set_bit(i + off, ploop); } } _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel