]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: use list_move
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 12 Oct 2012 15:59:44 +0000 (16:59 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 12 Oct 2012 15:59:44 +0000 (16:59 +0100)
commit1ad0813e57f029a455af159cd3b36db28a0f7ba5
treef6a6f02a5f7b7b6666390d024eee256785899313
parent49501d2c7feeb8ce947b5d83ecf7c28cfef2d176
dm bufio: use list_move

Use list_move() instead of list_del() + list_add().

spatch with a semantic match was used to find this.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-bufio.c