Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297861
b: refs/heads/master
c: d16cb05
h: refs/heads/master
i:
  297859: ed08fb9
v: v3
  • Loading branch information
Jeff Mahoney authored and David Sterba committed Mar 22, 2012
1 parent 3eb3bba commit 2cfb481
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: cddcd800189bc03745d576f913dc57692c6f439a
refs/heads/master: d16cb050e5b1c3a9d754fed7098eefb8237877d1
9 changes: 3 additions & 6 deletions trunk/fs/btrfs/root-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,10 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root
return ret;
}

int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root
*root, struct btrfs_key *key, struct btrfs_root_item
*item)
int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
struct btrfs_key *key, struct btrfs_root_item *item)
{
int ret;
ret = btrfs_insert_item(trans, root, key, item, sizeof(*item));
return ret;
return btrfs_insert_item(trans, root, key, item, sizeof(*item));
}

/*
Expand Down

0 comments on commit 2cfb481

Please sign in to comment.