X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_txnmgr.c;h=5fcc02eaa64ca2af23ba4bba6431647fa04deb4e;hb=3dc329baa2ed1740036183041cefaf8ceb714038;hp=bb8b661bcc5055aeb63796b1bbcc47c309608019;hpb=a68f20ef80e62b3dfed3097ad57ec88550cdabe7;p=cascardo%2Flinux.git diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index bb8b661bcc50..5fcc02eaa64c 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -2977,12 +2977,9 @@ int jfs_sync(void *arg) * put back on the anon_list. */ - /* Take off anon_list */ - list_del(&jfs_ip->anon_inode_list); - - /* Put on anon_list2 */ - list_add(&jfs_ip->anon_inode_list, - &TxAnchor.anon_list2); + /* Move from anon_list to anon_list2 */ + list_move(&jfs_ip->anon_inode_list, + &TxAnchor.anon_list2); TXN_UNLOCK(); iput(ip);