Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332524
b: refs/heads/master
c: 06d3d22
h: refs/heads/master
v: v3
  • Loading branch information
Liu Bo authored and Chris Mason committed Oct 1, 2012
1 parent 6314b6e commit 8be29bf
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 0fa83cdb1d72a94ea84ab6380747de6ac7cc8753
refs/heads/master: 06d3d22b456c2f87aeb1eb4517eeabb47e21fcc9
6 changes: 6 additions & 0 deletions trunk/fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -3167,6 +3167,12 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,
err = ret;
goto out_unlock;
}
} else {
struct extent_map_tree *tree = &BTRFS_I(inode)->extent_tree;
struct extent_map *em, *n;

list_for_each_entry_safe(em, n, &tree->modified_extents, list)
list_del_init(&em->list);
}

if (inode_only == LOG_INODE_ALL && S_ISDIR(inode->i_mode)) {
Expand Down

0 comments on commit 8be29bf

Please sign in to comment.