X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_txnmgr.c;h=4d973524c887990fd0ba4727362e8a70917783a4;hb=97d2116708ca0fd6ad8b00811ee4349b7e19e96f;hp=2e58978d6f45a80c616af32562f139e99ef339c8;hpb=539294b76af8922297702a7ebb8cafe68f7e5376;p=cascardo%2Flinux.git diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index 2e58978d6f45..4d973524c887 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -2893,8 +2893,7 @@ restart: * on anon_list2. Let's check. */ if (!list_empty(&TxAnchor.anon_list2)) { - list_splice(&TxAnchor.anon_list2, &TxAnchor.anon_list); - INIT_LIST_HEAD(&TxAnchor.anon_list2); + list_splice_init(&TxAnchor.anon_list2, &TxAnchor.anon_list); goto restart; } TXN_UNLOCK();