X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_txnmgr.c;h=c7a92f9deb2b93c269d2b945418030f37f53ba51;hb=abf914208a1e120446ea4f9bc26406bd3a4579e1;hp=3555acff12d0c5009520d9d672f17fe3e476bcfc;hpb=da28c12089dfcfb8695b6b555cdb8e03dda2b690;p=linux-2.6-omap-h63xx.git diff --git a/fs/jfs/jfs_txnmgr.c b/fs/jfs/jfs_txnmgr.c index 3555acff12d..c7a92f9deb2 100644 --- a/fs/jfs/jfs_txnmgr.c +++ b/fs/jfs/jfs_txnmgr.c @@ -657,7 +657,9 @@ struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, /* only anonymous txn. * Remove from anon_list */ + TXN_LOCK(); list_del_init(&jfs_ip->anon_inode_list); + TXN_UNLOCK(); } jfs_ip->atlhead = tlck->next; } else {