Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139474
b: refs/heads/master
c: d57e62b
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason committed Mar 31, 2009
1 parent b0ab4f5 commit 6129a5f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5a3f23d515a2ebf0c750db80579ca57b28cbce6d
refs/heads/master: d57e62b89796f751c9422801cbcd407a9f8dcdc4
4 changes: 4 additions & 0 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -2384,6 +2384,10 @@ static int __free_extent(struct btrfs_trans_handle *trans,
if (owner_objectid >= BTRFS_FIRST_FREE_OBJECTID) {
ret = btrfs_del_csums(trans, root, bytenr, num_bytes);
BUG_ON(ret);
} else {
invalidate_mapping_pages(info->btree_inode->i_mapping,
bytenr >> PAGE_CACHE_SHIFT,
(bytenr + num_bytes - 1) >> PAGE_CACHE_SHIFT);
}

ret = update_block_group(trans, root, bytenr, num_bytes, 0,
Expand Down

0 comments on commit 6129a5f

Please sign in to comment.