Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252322
b: refs/heads/master
c: 8e531cd
h: refs/heads/master
v: v3
  • Loading branch information
liubo authored and Chris Mason committed May 23, 2011
1 parent ed1ed3c commit 5be2c89
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 712673339a0d085358fd1cd3a6477cc7979bb69f
refs/heads/master: 8e531cdfeb75269c6c5aae33651cca39707848da
3 changes: 3 additions & 0 deletions trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -2667,6 +2667,9 @@ static noinline int copy_items(struct btrfs_trans_handle *trans,
extent = btrfs_item_ptr(src, start_slot + i,
struct btrfs_file_extent_item);

if (btrfs_file_extent_generation(src, extent) < trans->transid)
continue;

found_type = btrfs_file_extent_type(src, extent);
if (found_type == BTRFS_FILE_EXTENT_REG ||
found_type == BTRFS_FILE_EXTENT_PREALLOC) {
Expand Down

0 comments on commit 5be2c89

Please sign in to comment.