Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311665
b: refs/heads/master
c: b630556
h: refs/heads/master
i:
  311663: 1d6c950
v: v3
  • Loading branch information
Chris Mason committed Jul 2, 2012
1 parent 4020527 commit b3ec36f
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 7fd1a3f73f3743b4ffd520effe288a70b0ec47c9
refs/heads/master: b6305567e7d31b0bec1b8cb9ec0cadd7f7086f5f
6 changes: 6 additions & 0 deletions trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,8 @@ static noinline int drop_one_dir_item(struct btrfs_trans_handle *trans,
kfree(name);

iput(inode);

btrfs_run_delayed_items(trans, root);
return ret;
}

Expand Down Expand Up @@ -895,6 +897,7 @@ static noinline int add_inode_ref(struct btrfs_trans_handle *trans,
ret = btrfs_unlink_inode(trans, root, dir,
inode, victim_name,
victim_name_len);
btrfs_run_delayed_items(trans, root);
}
kfree(victim_name);
ptr = (unsigned long)(victim_ref + 1) + victim_name_len;
Expand Down Expand Up @@ -1475,6 +1478,9 @@ static noinline int check_item_in_log(struct btrfs_trans_handle *trans,
ret = btrfs_unlink_inode(trans, root, dir, inode,
name, name_len);
BUG_ON(ret);

btrfs_run_delayed_items(trans, root);

kfree(name);
iput(inode);

Expand Down

0 comments on commit b3ec36f

Please sign in to comment.