Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5814
b: refs/heads/master
c: 8a9cd6d
h: refs/heads/master
v: v3
  • Loading branch information
Dave Kleikamp committed Aug 10, 2005
1 parent 3c35d41 commit 681fe3f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5c96cab8f3c4ca9b2177dceb5de5a0edb31418e
refs/heads/master: 8a9cd6d676728792aaee31f30015d284acd154a3
2 changes: 2 additions & 0 deletions trunk/fs/jfs/jfs_txnmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions trunk/fs/jfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ static void jfs_destroy_inode(struct inode *inode)
{
struct jfs_inode_info *ji = JFS_IP(inode);

BUG_ON(!list_empty(&ji->anon_inode_list));

spin_lock_irq(&ji->ag_lock);
if (ji->active_ag != -1) {
struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap;
Expand Down

0 comments on commit 681fe3f

Please sign in to comment.