JFS: use list_move instead of list_del/list_add
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 6 Sep 2012 07:33:09 +0000 (15:33 +0800)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 17 Sep 2012 17:00:17 +0000 (12:00 -0500)
commit550d6da288df57f154ca27c4acb1c398ced42ea9
tree7fe53bdef8648280ea67d7fe060a9235d8e3b890
parent16221d9071d48841b23256a2ad643a845d5aaf80
JFS: use list_move instead of list_del/list_add

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

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/jfs/jfs_txnmgr.c