search for: 82fc8ca

Displaying 1 result from an estimated 1 matches for "82fc8ca".

2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...the original snapshot */ - trans = btrfs_start_transaction(root, 1); - btrfs_commit_transaction(trans, root); + btrfs_force_transaction_commit(root, 0); ret = btrfs_write_and_wait_transaction(NULL, root); BUG_ON(ret); diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 92bc72e..82fc8ca 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -201,6 +201,7 @@ static int exclude_super_stripes(struct btrfs_root *root, BUG_ON(ret); while (nr--) { + cache->bytes_super += stripe_len; ret = add_excluded_extent(root, logical[nr], stripe_len); BUG_...