Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188220
b: refs/heads/master
c: 0bdb1db
h: refs/heads/master
v: v3
  • Loading branch information
Sage Weil authored and Chris Mason committed Mar 15, 2010
1 parent c6a7110 commit 267ae53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: bd4d10888990f7e3f8029205d27eb155202d6969
refs/heads/master: 0bdb1db297ab36865a63ee722d35ff0a1f0ae522
5 changes: 1 addition & 4 deletions trunk/fs/btrfs/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,13 +997,10 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans,

mutex_unlock(&root->fs_info->trans_mutex);

if (flush_on_commit) {
if (flush_on_commit || snap_pending) {
btrfs_start_delalloc_inodes(root, 1);
ret = btrfs_wait_ordered_extents(root, 0, 1);
BUG_ON(ret);
} else if (snap_pending) {
ret = btrfs_wait_ordered_extents(root, 0, 1);
BUG_ON(ret);
}

/*
Expand Down

0 comments on commit 267ae53

Please sign in to comment.