Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360485
b: refs/heads/master
c: 2382c5c
h: refs/heads/master
i:
  360483: 3398a32
v: v3
  • Loading branch information
Liu Bo authored and Josef Bacik committed Feb 26, 2013
1 parent 47ed362 commit b05fe44
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a81cb9a2d939676dee6911993a37fa7e818ab72e
refs/heads/master: 2382c5cc7ed0396b61a359765bf5ee125b0a2f46
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,

rsv = trans->block_rsv;
trans->block_rsv = &pending->block_rsv;
trans->bytes_reserved = trans->block_rsv->reserved;

dentry = pending->dentry;
parent = dget_parent(dentry);
Expand Down Expand Up @@ -1276,6 +1277,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,
fail:
dput(parent);
trans->block_rsv = rsv;
trans->bytes_reserved = 0;
no_free_objectid:
kfree(new_root_item);
root_item_alloc_fail:
Expand Down

0 comments on commit b05fe44

Please sign in to comment.