ceph: use list_move_tail instead of list_del/list_add_tail
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 5 Sep 2012 06:34:32 +0000 (14:34 +0800)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:49 +0000 (14:30 -0500)
commitcc4829e5967de577794b25dfcd1a65e509d171ed
tree99e14d39ac747a678df303caee99c41ce48ebd9f
parent523f32582f30768ab4e56b71b276fc1ea71f48cc
ceph: use list_move_tail instead of list_del/list_add_tail

Using list_move_tail() instead of list_del() + list_add_tail().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/pagelist.c