Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262229
b: refs/heads/master
c: 38a1a91
h: refs/heads/master
i:
  262227: 6ca1717
v: v3
  • Loading branch information
Mark Fasheh committed Jul 25, 2011
1 parent d580057 commit 0ea6488
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 92b8e897f6e7ba4aa10037ebd8186f85d39330d0
refs/heads/master: 38a1a919535742af677303271eb4ff731547b706
8 changes: 6 additions & 2 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -6272,10 +6272,14 @@ int btrfs_drop_snapshot(struct btrfs_root *root,
int level;

path = btrfs_alloc_path();
BUG_ON(!path);
if (!path)
return -ENOMEM;

wc = kzalloc(sizeof(*wc), GFP_NOFS);
BUG_ON(!wc);
if (!wc) {
btrfs_free_path(path);
return -ENOMEM;
}

trans = btrfs_start_transaction(tree_root, 0);
BUG_ON(IS_ERR(trans));
Expand Down

0 comments on commit 0ea6488

Please sign in to comment.