Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233231
b: refs/heads/master
c: e3f24cc
h: refs/heads/master
i:
  233229: 2d19a50
  233227: b5bd79e
  233223: 74b4a5c
  233215: aee49e2
v: v3
  • Loading branch information
Chris Mason committed Feb 14, 2011
1 parent 09edfcc commit 9f70550
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: eb14ab8ed24a0405fd056068b28c33a1cd846024
refs/heads/master: e3f24cc521cb7ba60ac137abd1939e4e03435e80
10 changes: 9 additions & 1 deletion trunk/fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2822,9 +2822,17 @@ int try_release_extent_state(struct extent_map_tree *map,
* at this point we can safely clear everything except the
* locked bit and the nodatasum bit
*/
clear_extent_bit(tree, start, end,
ret = clear_extent_bit(tree, start, end,
~(EXTENT_LOCKED | EXTENT_NODATASUM),
0, 0, NULL, mask);

/* if clear_extent_bit failed for enomem reasons,
* we can't allow the release to continue.
*/
if (ret < 0)
ret = 0;
else
ret = 1;
}
return ret;
}
Expand Down

0 comments on commit 9f70550

Please sign in to comment.