Tag: a506c13a4d1ec5e1f2f9bc0123dacb5d123004d3

drbd: use list_move_tail instead of list_del/list_add_tail

Author: Lars Ellenberg <lars.ellenberg@linbit.com> Using list_move_tail() instead of list_del() + list_add_tail(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg — drivers/block/drbd/drbd_worker.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index eeda8b8..377f27b 100644 — a/drivers/block/drbd/drbd_worker.c +++ …

Continue reading