Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322373
b: refs/heads/master
c: d280e5b
h: refs/heads/master
i:
  322371: 098c252
v: v3
  • Loading branch information
Liu Bo authored and Chris Mason committed Aug 28, 2012
1 parent 5710911 commit 23efd32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24c03fa5cf3d02c327cf9f2fc39f72664b1bd7e1
refs/heads/master: d280e5be940931c84bb2e9831ead9d02bc785484
7 changes: 5 additions & 2 deletions trunk/fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1882,8 +1882,11 @@ static int btrfs_finish_ordered_io(struct btrfs_ordered_extent *ordered_extent)
trans = btrfs_join_transaction_nolock(root);
else
trans = btrfs_join_transaction(root);
if (IS_ERR(trans))
return PTR_ERR(trans);
if (IS_ERR(trans)) {
ret = PTR_ERR(trans);
trans = NULL;
goto out;
}
trans->block_rsv = &root->fs_info->delalloc_block_rsv;
ret = btrfs_update_inode_fallback(trans, root, inode);
if (ret) /* -ENOMEM or corruption */
Expand Down

0 comments on commit 23efd32

Please sign in to comment.